diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-02 16:57:12 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-04 12:52:13 +0200 |
| commit | d217d976ccdc439803003a26252904ca8abdd520 (patch) | |
| tree | 3045be3f9bfbc87e52fe07965704074c53f6083b /src/CMakeLists.txt | |
| parent | 0af917701973b67d7b7bf5e9ef37304040530015 (diff) | |
| download | qtmaildir-d217d976ccdc439803003a26252904ca8abdd520.tar.gz qtmaildir-d217d976ccdc439803003a26252904ca8abdd520.zip | |
build: add CMake skeleton and dependency discovery
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..e9e28e5 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,14 @@ +add_library(qtmaildir_lib STATIC + main_placeholder.cpp +) + +target_include_directories(qtmaildir_lib + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${NOTMUCH_INCLUDE_DIR}) + +target_link_libraries(qtmaildir_lib + PUBLIC Qt6::Widgets Qt6::WebEngineWidgets PkgConfig::GMIME ${NOTMUCH_LIBRARY}) + +add_executable(qtmaildir main.cpp) +target_link_libraries(qtmaildir PRIVATE qtmaildir_lib) + +install(TARGETS qtmaildir RUNTIME DESTINATION bin) |
