Do debug builds for now.

This commit is contained in:
Paul Reeves 2023-01-24 19:24:19 +01:00
parent f10de10371
commit 838b728938
3 changed files with 7 additions and 4 deletions

View File

@ -25,7 +25,7 @@ CMAKE_AR:FILEPATH=/usr/bin/ar
//Choose the type of build, options are: None Debug Release RelWithDebInfo //Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ... // MinSizeRel ...
CMAKE_BUILD_TYPE:STRING= CMAKE_BUILD_TYPE:STRING=Debug
//Enable/Disable color output during build. //Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON CMAKE_COLOR_MAKEFILE:BOOL=ON
@ -218,6 +218,9 @@ FIREBIRD_INCLUDE_DIR:PATH=/opt/firebird/include
//Path to a library. //Path to a library.
FIREBIRD_LIB:FILEPATH=/usr/lib64/libfbclient.so FIREBIRD_LIB:FILEPATH=/usr/lib64/libfbclient.so
//Path to a library.
FIREBIRD_LIB_DIR:FILEPATH=/usr/lib64/libfbclient.so
//Value Computed by CMake //Value Computed by CMake
MY_FIRST_UDR_KIT_BINARY_DIR:STATIC=/srv/code/firebird/MyFirstUDRKit/build MY_FIRST_UDR_KIT_BINARY_DIR:STATIC=/srv/code/firebird/MyFirstUDRKit/build
@ -309,7 +312,7 @@ CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
CMAKE_EXPORT_COMPILE_COMMANDS:INTERNAL=ON CMAKE_EXPORT_COMPILE_COMMANDS:INTERNAL=1
//Name of external makefile project generator. //Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL= CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator. //Name of generator.

View File

@ -12,7 +12,7 @@ if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else() else()
set(CMAKE_INSTALL_CONFIG_NAME "Release") set(CMAKE_INSTALL_CONFIG_NAME "Debug")
endif() endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif() endif()

View File

@ -1,7 +1,7 @@
[ [
{ {
"directory": "/srv/code/firebird/MyFirstUDRKit/build", "directory": "/srv/code/firebird/MyFirstUDRKit/build",
"command": "/usr/bin/c++ -DMyFirstUDRKit_EXPORTS -isystem /opt/firebird/include -isystem /opt/firebird/include/firebird -Wall -Wnarrowing -Werror -O3 -DNDEBUG -s -fPIC -std=c++1z -o CMakeFiles/MyFirstUDRKit.dir/src/MyFirstUDRKit.cpp.o -c /srv/code/firebird/MyFirstUDRKit/src/MyFirstUDRKit.cpp", "command": "/usr/bin/c++ -DMyFirstUDRKit_EXPORTS -isystem /opt/firebird/include -isystem /opt/firebird/include/firebird -Wall -Wnarrowing -Werror -g -fPIC -std=c++1z -o CMakeFiles/MyFirstUDRKit.dir/src/MyFirstUDRKit.cpp.o -c /srv/code/firebird/MyFirstUDRKit/src/MyFirstUDRKit.cpp",
"file": "/srv/code/firebird/MyFirstUDRKit/src/MyFirstUDRKit.cpp" "file": "/srv/code/firebird/MyFirstUDRKit/src/MyFirstUDRKit.cpp"
} }
] ]