mirror of
https://github.com/schnaader/precomp-cpp
synced 2026-08-23 00:23:04 -04:00
default CMAKE_BUILD_TYPE to Release so it doesn't need to be specified on single-configurations like Unix Makefile
This commit is contained in:
parent
cba2b2bc09
commit
f8ea3d4fab
1 changed files with 4 additions and 0 deletions
|
|
@ -5,6 +5,10 @@ project(precomp)
|
|||
set(SRCDIR ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
set(OBJDIR ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
if (NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Release)
|
||||
endif()
|
||||
|
||||
if (UNIX)
|
||||
set(CMAKE_C_FLAGS "-DLINUX -DUNIX -DHAVE_STDBOOL_H")
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue