mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-23 16:15:07 +00:00
Change default cmake build type to Release
This commit is contained in:
parent
ddc318eef3
commit
a566167db6
@ -1,8 +1,4 @@
|
|||||||
# Set a default build type if none was specified
|
|
||||||
set(DEFAULT_CMAKE_BUILD_TYPE Release)
|
set(DEFAULT_CMAKE_BUILD_TYPE Release)
|
||||||
if(EXISTS ${CMAKE_SOURCE_DIR}/.git)
|
|
||||||
set(DEFAULT_CMAKE_BUILD_TYPE Debug)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# CMAKE_BUILD_TYPE is not available if a multi-configuration generator is used
|
# CMAKE_BUILD_TYPE is not available if a multi-configuration generator is used
|
||||||
# (eg Visual Studio generators)
|
# (eg Visual Studio generators)
|
||||||
|
Loading…
Reference in New Issue
Block a user