diff options
author | Petr Mrázek <peterix@gmail.com> | 2020-07-18 16:18:02 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2020-07-18 16:22:05 +0200 |
commit | e7f373496ed51d30d87eb1b75410d4f02f0412ec (patch) | |
tree | db040fd29b1a95968324ef0b52fbc48d228d9f25 /buildconfig/CMakeLists.txt | |
parent | 3158082b16009907e1abed0308498d10788f0f42 (diff) | |
download | PrismLauncher-e7f373496ed51d30d87eb1b75410d4f02f0412ec.tar.gz PrismLauncher-e7f373496ed51d30d87eb1b75410d4f02f0412ec.tar.bz2 PrismLauncher-e7f373496ed51d30d87eb1b75410d4f02f0412ec.zip |
GH-3234 Add support for custom meta URLs at build time
This is not particularly interesting for non-developers.
Also includes some internal restructuring of URL constants in general.
Diffstat (limited to 'buildconfig/CMakeLists.txt')
-rw-r--r-- | buildconfig/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/buildconfig/CMakeLists.txt b/buildconfig/CMakeLists.txt new file mode 100644 index 00000000..de4fd350 --- /dev/null +++ b/buildconfig/CMakeLists.txt @@ -0,0 +1,11 @@ +######## Configure the file with build properties ######## + +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/BuildConfig.cpp.in" "${CMAKE_CURRENT_BINARY_DIR}/BuildConfig.cpp") + +add_library(BuildConfig STATIC + BuildConfig.h + ${CMAKE_CURRENT_BINARY_DIR}/BuildConfig.cpp +) + +target_link_libraries(BuildConfig Qt5::Core) +target_include_directories(BuildConfig PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}") |