From f9e9448738a5fae6f50223eb9905fc54fa4d8d1d Mon Sep 17 00:00:00 2001 From: John Fultz Date: Fri, 19 Jul 2019 12:16:43 -0500 Subject: First cut of a cmake build. Building on macOS right now. cmake will soon replace qmake as the supported build system. Some notes about the implementation: * libquackle and libquackleio can be separately built as before. * quacker still links to the static libraries for libquackle and libquackleio, but quacker's cmake file includes those projects, which means everything builds at once. No more need to run separate builds of everything to get a GUI. And debugging is easier now that the libraries are incorporated into the quacker project. * I tried to get cmake to build the macOS app bundle, but cmake is unable, by conventional means, to build a non-flat Resources directory (which many people have complained about). Right now, the default build just builds the binary, and you have to run it from the command-line. But -DBUNDLE=ON will build a shell of a bundle. It won't work, but I intend to create an Xcode project from it for building the bundle, to make it easier for me to deliver a code-signed and notarized app bundle. * I've got CMakeLists.txt files for the resources, but they're not really doing anything right now. Maybe later. * Minimum macOS version for the cmake build is 10.10. --- data/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/CMakeLists.txt (limited to 'data/CMakeLists.txt') diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt new file mode 100644 index 0000000..a69bee2 --- /dev/null +++ b/data/CMakeLists.txt @@ -0,0 +1,9 @@ +add_subdirectory(alphabets) +add_subdirectory(lexica) +add_subdirectory(strategy) +add_subdirectory(themes) + +set(DATA_ALPHABETS ${DATA_ALPHABETS} PARENT_SCOPE) +set(DATA_LEXICA ${DATA_LEXICA} PARENT_SCOPE) +set(DATA_STRATEGY ${DATA_STRATEGY} PARENT_SCOPE) +set(DATA_THEMES ${DATA_THEMES} PARENT_SCOPE) -- cgit v1.2.3