[script] comment some debugging flags`
This commit is contained in:
parent
800ce6a290
commit
86a0768ed7
|
@ -15,13 +15,13 @@ if (${CMAKE_VERSION} VERSION_GREATER "3.8")
|
||||||
# has no effect unless an Intel compiler is used
|
# has no effect unless an Intel compiler is used
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Set the default build type if not specified
|
## Set the default build type if not specified
|
||||||
if(NOT CMAKE_BUILD_TYPE)
|
#if(NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE Release CACHE STRING
|
# set(CMAKE_BUILD_TYPE Release CACHE STRING
|
||||||
"Choose the type of build: None, Debug, Release, RelWithDebInfo, MinSizeRel"
|
# "Choose the type of build: None, Debug, Release, RelWithDebInfo, MinSizeRel"
|
||||||
FORCE)
|
# FORCE)
|
||||||
endif()
|
#endif()
|
||||||
message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
|
#message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
|
||||||
|
|
||||||
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
|
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
|
||||||
message("CMAKE_SOURCE_DIR: ${CMAKE_SOURCE_DIR}")
|
message("CMAKE_SOURCE_DIR: ${CMAKE_SOURCE_DIR}")
|
||||||
|
|
Loading…
Reference in New Issue