Rename project to BillyGui
This commit is contained in:
parent
15310fb707
commit
a54d1f7e98
1 changed files with 6 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.30)
|
cmake_minimum_required(VERSION 3.30)
|
||||||
project(LearnGtk4 LANGUAGES CXX)
|
project(BillyGui LANGUAGES CXX)
|
||||||
|
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
find_package(PkgConfig REQUIRED)
|
find_package(PkgConfig REQUIRED)
|
||||||
|
|
@ -73,20 +73,20 @@ set(SPDLOG_NO_TLS ON)
|
||||||
set(SPDLOG_NO_ATOMIC_LEVELS ON)
|
set(SPDLOG_NO_ATOMIC_LEVELS ON)
|
||||||
fetchcontent_makeavailable(spdlog)
|
fetchcontent_makeavailable(spdlog)
|
||||||
|
|
||||||
add_executable(LearnGtk4 main.cpp
|
add_executable(${PROJECT_NAME} main.cpp
|
||||||
hello_world.cpp
|
hello_world.cpp
|
||||||
hello_world.hpp
|
hello_world.hpp
|
||||||
app_win_2_back.cpp
|
app_win_2_back.cpp
|
||||||
app_win_2_back.hpp
|
app_win_2_back.hpp
|
||||||
)
|
)
|
||||||
|
|
||||||
set_target_properties(LearnGtk4 spdlog_header_only PROPERTIES
|
set_target_properties(${PROJECT_NAME} spdlog_header_only PROPERTIES
|
||||||
CXX_STANDARD 23
|
CXX_STANDARD 23
|
||||||
CXX_STANDARD_REQUIRED ON
|
CXX_STANDARD_REQUIRED ON
|
||||||
CXX_EXTENSIONS OFF
|
CXX_EXTENSIONS OFF
|
||||||
INTERPROCEDURAL_OPTIMIZATION ON
|
INTERPROCEDURAL_OPTIMIZATION ON
|
||||||
)
|
)
|
||||||
|
|
||||||
target_compile_options(LearnGtk4 PUBLIC ${COMPILE_FLAGS})
|
target_compile_options(${PROJECT_NAME} PUBLIC ${COMPILE_FLAGS})
|
||||||
target_link_options(LearnGtk4 PUBLIC ${LINKER_OPTIONS})
|
target_link_options(${PROJECT_NAME} PUBLIC ${LINKER_OPTIONS})
|
||||||
target_link_libraries(LearnGtk4 PkgConfig::GTKMM4 spdlog_header_only BillySheet)
|
target_link_libraries(${PROJECT_NAME} PkgConfig::GTKMM4 spdlog_header_only BillySheet)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue