Compare commits
No commits in common. "a54d1f7e984b52d437a4123ac267a31c121242e7" and "92db466083b1f0be0bede64fad692971ce18dcd2" have entirely different histories.
a54d1f7e98
...
92db466083
1 changed files with 6 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.30)
|
||||
project(BillyGui LANGUAGES CXX)
|
||||
project(LearnGtk4 LANGUAGES CXX)
|
||||
|
||||
include(FetchContent)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
|
@ -7,7 +7,6 @@ pkg_check_modules(GTKMM4 REQUIRED IMPORTED_TARGET gtkmm-4.0)
|
|||
|
||||
fetchcontent_declare(BillySheet
|
||||
GIT_REPOSITORY https://gitea.pcornatcloud.fr/Pcornat/BillySheet.git
|
||||
GIT_TAG main
|
||||
GIT_SUBMODULES_RECURSE ON
|
||||
GIT_SHALLOW ON
|
||||
DOWNLOAD_EXTRACT_TIMESTAMP OFF
|
||||
|
|
@ -73,20 +72,20 @@ set(SPDLOG_NO_TLS ON)
|
|||
set(SPDLOG_NO_ATOMIC_LEVELS ON)
|
||||
fetchcontent_makeavailable(spdlog)
|
||||
|
||||
add_executable(${PROJECT_NAME} main.cpp
|
||||
add_executable(LearnGtk4 main.cpp
|
||||
hello_world.cpp
|
||||
hello_world.hpp
|
||||
app_win_2_back.cpp
|
||||
app_win_2_back.hpp
|
||||
)
|
||||
|
||||
set_target_properties(${PROJECT_NAME} spdlog_header_only PROPERTIES
|
||||
set_target_properties(LearnGtk4 spdlog_header_only PROPERTIES
|
||||
CXX_STANDARD 23
|
||||
CXX_STANDARD_REQUIRED ON
|
||||
CXX_EXTENSIONS OFF
|
||||
INTERPROCEDURAL_OPTIMIZATION ON
|
||||
)
|
||||
|
||||
target_compile_options(${PROJECT_NAME} PUBLIC ${COMPILE_FLAGS})
|
||||
target_link_options(${PROJECT_NAME} PUBLIC ${LINKER_OPTIONS})
|
||||
target_link_libraries(${PROJECT_NAME} PkgConfig::GTKMM4 spdlog_header_only BillySheet)
|
||||
target_compile_options(LearnGtk4 PUBLIC ${COMPILE_FLAGS})
|
||||
target_link_options(LearnGtk4 PUBLIC ${LINKER_OPTIONS})
|
||||
target_link_libraries(LearnGtk4 PkgConfig::GTKMM4 spdlog_header_only BillySheet)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue