mirror of
https://codeberg.org/vyn/selenite.git
synced 2025-07-02 01:23:23 +00:00
Disable Warning as Error compilation flag
This commit is contained in:
parent
c653e85111
commit
b549a6a47c
2 changed files with 11 additions and 8 deletions
|
@ -3,12 +3,16 @@ project(selenite LANGUAGES CXX)
|
|||
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
|
||||
#set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
|
||||
set(CMAKE_BUILD_RPATH_USE_ORIGIN ON)
|
||||
|
||||
add_subdirectory(external/rei-json)
|
||||
|
||||
add_library(selenite
|
||||
src/palette.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(selenite PRIVATE rei-json)
|
||||
|
||||
target_include_directories(selenite PRIVATE "include")
|
||||
target_include_directories(selenite PRIVATE "external/rei-json/include")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue