[script] comment some debugging flags`

This commit is contained in:
tangxifan 2022-08-18 19:49:15 -07:00
parent 800ce6a290
commit 86a0768ed7
1 changed files with 7 additions and 7 deletions

View File

@ -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}")