mirror of
https://github.com/schnaader/precomp-cpp
synced 2026-08-23 00:23:04 -04:00
commit
0610ef7d05
2 changed files with 9 additions and 2 deletions
|
|
@ -7,6 +7,13 @@ set(OBJDIR ${CMAKE_CURRENT_BINARY_DIR})
|
|||
|
||||
if (NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Release)
|
||||
message(STATUS "Build type: Release")
|
||||
else()
|
||||
if (NOT CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
message(WARNING "CMake build type is set to ${CMAKE_BUILD_TYPE}! This might result in bad performance!")
|
||||
else()
|
||||
message(STATUS "Build type: Release")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (UNIX)
|
||||
|
|
@ -156,4 +163,4 @@ if (UNIX)
|
|||
target_link_libraries(precomp Threads::Threads)
|
||||
endif()
|
||||
|
||||
install(TARGETS precomp DESTINATION bin)
|
||||
install(TARGETS precomp DESTINATION bin)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ Precomp
|
|||
=======
|
||||
|
||||
[](https://gitter.im/schnaader/precomp-cpp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
[](https://travis-ci.org/schnaader/precomp-cpp)
|
||||
[](https://travis-ci.com/schnaader/precomp-cpp)
|
||||
[](https://ci.appveyor.com/project/schnaader/precomp-cpp)
|
||||
|
||||
[](https://repology.org/metapackage/precomp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue