GTK docking interfaces

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 CMakeLists.txt

View raw Download
text/plain • 669 B
ASCII text
        
            
1
cmake_minimum_required(VERSION 3.30)
2
project(gpanthera)
3
4
set(CMAKE_CXX_STANDARD 20)
5
6
add_library(gpanthera SHARED gpanthera.cc)
7
8
add_executable(panthera-www panthera-www.cc)
9
target_link_libraries(panthera-www gpanthera)
10
target_link_libraries(panthera-www webkitgtk-6.0)
11
12
find_package(PkgConfig REQUIRED)
13
pkg_check_modules(GTKMM REQUIRED gtkmm-4.0)
14
pkg_check_modules(WebKit REQUIRED webkitgtk-6.0)
15
16
include_directories(${GTKMM_INCLUDE_DIRS})
17
link_directories(${GTKMM_LIBRARY_DIRS})
18
include_directories(${WebKit_INCLUDE_DIRS})
19
20
add_definitions(${GTKMM_CFLAGS_OTHER})
21
target_link_libraries(gpanthera ${GTKMM_LIBRARIES})
22
23
file(COPY locales DESTINATION ${CMAKE_BINARY_DIR})
24