From 838b728938cc0fc9612d488d2903284f743e63cb Mon Sep 17 00:00:00 2001 From: Paul Reeves Date: Tue, 24 Jan 2023 19:24:19 +0100 Subject: [PATCH] Do debug builds for now. --- build/CMakeCache.txt | 7 +++++-- build/cmake_install.cmake | 2 +- build/compile_commands.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/build/CMakeCache.txt b/build/CMakeCache.txt index 6c1368f..e3a7ca6 100644 --- a/build/CMakeCache.txt +++ b/build/CMakeCache.txt @@ -25,7 +25,7 @@ CMAKE_AR:FILEPATH=/usr/bin/ar //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... -CMAKE_BUILD_TYPE:STRING= +CMAKE_BUILD_TYPE:STRING=Debug //Enable/Disable color output during build. CMAKE_COLOR_MAKEFILE:BOOL=ON @@ -218,6 +218,9 @@ FIREBIRD_INCLUDE_DIR:PATH=/opt/firebird/include //Path to a library. FIREBIRD_LIB:FILEPATH=/usr/lib64/libfbclient.so +//Path to a library. +FIREBIRD_LIB_DIR:FILEPATH=/usr/lib64/libfbclient.so + //Value Computed by CMake 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 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO 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. CMAKE_EXTRA_GENERATOR:INTERNAL= //Name of generator. diff --git a/build/cmake_install.cmake b/build/cmake_install.cmake index c38654e..74b149b 100644 --- a/build/cmake_install.cmake +++ b/build/cmake_install.cmake @@ -12,7 +12,7 @@ if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") else() - set(CMAKE_INSTALL_CONFIG_NAME "Release") + set(CMAKE_INSTALL_CONFIG_NAME "Debug") endif() message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") endif() diff --git a/build/compile_commands.json b/build/compile_commands.json index b0c6a9a..44e58ce 100644 --- a/build/compile_commands.json +++ b/build/compile_commands.json @@ -1,7 +1,7 @@ [ { "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" } ] \ No newline at end of file