Skip to content

Commit

Permalink
Update CMakeLists.txt to add a 'd' sulffix to the lib built for debug
Browse files Browse the repository at this point in the history
This command was added to separate the debug and release version, otherise it was need the rename the lib when alternate the compilation between debug and release in the main application.

I have noted that kdchart makes such a separation but I did not find how it is  done there.
  • Loading branch information
fabiocomm5 authored Jul 30, 2024
1 parent d12638b commit 0ec4502
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ project(
LANGUAGES CXX
)

set(CMAKE_DEBUG_POSTFIX d)
set(${PROJECT_NAME}_VERSION_MAJOR 2)
set(${PROJECT_NAME}_VERSION_MINOR 2)
set(${PROJECT_NAME}_VERSION_PATCH 1)
Expand Down

0 comments on commit 0ec4502

Please sign in to comment.