mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-05 16:49:08 +00:00
Fix stuff; add appveyor config
This commit is contained in:
+5
-3
@@ -75,12 +75,10 @@ else()
|
||||
-Wall
|
||||
-Wno-attributes
|
||||
-pedantic
|
||||
-pedantic-errors
|
||||
-Wno-missing-braces
|
||||
)
|
||||
|
||||
if (WARNINGS_AS_ERRORS)
|
||||
add_compile_options(-Werror -Wfatal-errors)
|
||||
add_compile_options(-Werror -Wfatal-errors -pedantic-errors)
|
||||
endif()
|
||||
|
||||
if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang)
|
||||
@@ -107,6 +105,10 @@ else()
|
||||
add_compile_options("-static")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (NOT DEBUG)
|
||||
add_compile_options("-flto")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_subdirectory(common)
|
||||
|
||||
Reference in New Issue
Block a user