Mercurial > minori
comparison CMakeLists.txt @ 114:ab191e28e69d
*: add initial torrent stuff
WOAH!
these checkboxes are a pain in my fucking ass
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 07 Nov 2023 08:03:42 -0500 |
parents | 80f49f623d30 |
children | 254b1d2b7096 |
comparison
equal
deleted
inserted
replaced
113:32afe0e940bf | 114:ab191e28e69d |
---|---|
10 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}") | 10 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}") |
11 | 11 |
12 option(BUILD_SHARED_LIBS "Build using shared libraries" ON) | 12 option(BUILD_SHARED_LIBS "Build using shared libraries" ON) |
13 option(USE_QT6 "Force build with Qt 6" OFF) | 13 option(USE_QT6 "Force build with Qt 6" OFF) |
14 option(USE_QT5 "Force build with Qt 5" OFF) | 14 option(USE_QT5 "Force build with Qt 5" OFF) |
15 # The reason I'm not specifying this an an option() is that | 15 option(UPDATE_TRANSLATIONS "Update *.ts translation files" OFF) |
16 # that will *save the value*, which causes the *.qm translation | |
17 # files to not automatically be generated, screwing up the whole | |
18 # "automation" part of it. | |
19 # | |
20 # Ugh. | |
21 # | |
22 # option(UPDATE_TRANSLATIONS "Update *.ts translation files" OFF) | |
23 | 16 |
24 add_subdirectory(dep/anitomy) | 17 add_subdirectory(dep/anitomy) |
25 add_subdirectory(dep/animia) | 18 add_subdirectory(dep/animia) |
26 add_subdirectory(dep/pugixml) | 19 add_subdirectory(dep/pugixml) |
27 | 20 |
43 set(LIBRARIES | 36 set(LIBRARIES |
44 ${CURL_LIBRARIES} | 37 ${CURL_LIBRARIES} |
45 ${Qt${QT_VERSION_MAJOR}Widgets_LIBRARIES} | 38 ${Qt${QT_VERSION_MAJOR}Widgets_LIBRARIES} |
46 anitomy | 39 anitomy |
47 animia | 40 animia |
41 pugixml | |
48 ) | 42 ) |
49 | 43 |
50 # We need Cocoa for some OS X stuff | 44 # We need Cocoa for some OS X stuff |
51 if(APPLE) | 45 if(APPLE) |
52 find_library(COCOA_LIBRARY Cocoa) | 46 find_library(COCOA_LIBRARY Cocoa) |