NKDBsec/cmake/SetCommon.cmake

14 lines
322 B
CMake
Raw Permalink Normal View History

2024-01-20 14:14:46 +08:00
# lib and bin
#SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/")
#SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/")
#SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/")
IF(${CMAKE_BUILD_TYPE} MATCHES Debug)
ADD_DEFINITIONS(-DDEBUG)
ELSE()
ADD_DEFINITIONS(-DNDEBUG)
ENDIF()