Mercurial > minori
comparison CMakeLists.txt @ 102:b315f3759c56
*: big patch
1. use a wrapper for mINI that enables case sensitivity
(personal preference)
2. rename dark_theme.cc to theme.cc and change it to be
a class
3. include the "dep" folder so we don't have stupidity in
json.h or ini.h
4. I think the graph was also tweaked a lot in this, nothing
is constexpr and size is found at runtime...
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 03 Nov 2023 21:32:52 -0400 |
parents | c537996cf67b |
children | 621084cc542c |
comparison
equal
deleted
inserted
replaced
101:c537996cf67b | 102:b315f3759c56 |
---|---|
61 src/core/strings.cc | 61 src/core/strings.cc |
62 src/core/time.cc | 62 src/core/time.cc |
63 | 63 |
64 # Main window | 64 # Main window |
65 src/gui/window.cc | 65 src/gui/window.cc |
66 src/gui/dark_theme.cc | 66 src/gui/theme.cc |
67 | 67 |
68 # Main window pages | 68 # Main window pages |
69 src/gui/pages/anime_list.cc | 69 src/gui/pages/anime_list.cc |
70 src/gui/pages/now_playing.cc | 70 src/gui/pages/now_playing.cc |
71 src/gui/pages/statistics.cc | 71 src/gui/pages/statistics.cc |
120 add_executable(minori ${SRC_FILES}) | 120 add_executable(minori ${SRC_FILES}) |
121 set_property(TARGET minori PROPERTY CXX_STANDARD 11) | 121 set_property(TARGET minori PROPERTY CXX_STANDARD 11) |
122 set_property(TARGET minori PROPERTY AUTOMOC ON) | 122 set_property(TARGET minori PROPERTY AUTOMOC ON) |
123 set_property(TARGET minori PROPERTY AUTORCC ON) | 123 set_property(TARGET minori PROPERTY AUTORCC ON) |
124 | 124 |
125 target_include_directories(minori PUBLIC ${CURL_INCLUDE_DIRS} PRIVATE include dep/pugixml/src dep/animia/include dep/anitomy dep/mini) | 125 target_include_directories(minori PUBLIC ${CURL_INCLUDE_DIRS} PRIVATE include dep/pugixml/src dep/animia/include dep/anitomy dep) |
126 if(USE_QT6) | 126 if(USE_QT6) |
127 target_include_directories(minori PUBLIC ${Qt6Widgets_INCLUDE_DIRS}) | 127 target_include_directories(minori PUBLIC ${Qt6Widgets_INCLUDE_DIRS}) |
128 else() | 128 else() |
129 target_include_directories(minori PUBLIC ${Qt5Widgets_INCLUDE_DIRS}) | 129 target_include_directories(minori PUBLIC ${Qt5Widgets_INCLUDE_DIRS}) |
130 endif() | 130 endif() |