comparison CMakeLists.txt @ 7:07a9095eaeed

Update Refactored some code, moved some around
author Paper <mrpapersonic@gmail.com>
date Thu, 24 Aug 2023 23:11:38 -0400
parents 1d82f6e04d7d
children 5c0397762b53
comparison
equal deleted inserted replaced
6:1d82f6e04d7d 7:07a9095eaeed
10 src/json.cpp 10 src/json.cpp
11 src/date.cpp 11 src/date.cpp
12 src/time.cpp 12 src/time.cpp
13 src/sidebar.cpp 13 src/sidebar.cpp
14 src/progress.cpp 14 src/progress.cpp
15 src/pages/anime_list.cpp
16 src/pages/now_playing.cpp
17 src/pages/statistics.cpp
15 src/dialog/settings.cpp 18 src/dialog/settings.cpp
16 src/dialog/information.cpp 19 src/dialog/information.cpp
17 src/dialog/settings/services.cpp 20 src/dialog/settings/services.cpp
18 src/dialog/settings/application.cpp 21 src/dialog/settings/application.cpp
19 src/ui_utils.cpp 22 src/ui_utils.cpp
20 src/string_utils.cpp 23 src/string_utils.cpp
21 rc/icons.qrc 24 rc/icons.qrc
22 dep/darkstyle/darkstyle.qrc 25 dep/darkstyle/darkstyle.qrc
23 # src/pages/statistics.cpp
24 # src/pages/now_playing.cpp
25 ) 26 )
26 27
27 if(APPLE) 28 if(APPLE)
28 list(APPEND SRC_FILES 29 list(APPEND SRC_FILES
29 src/sys/osx/dark_theme.mm 30 src/sys/osx/dark_theme.mm
31 ) 32 )
32 elseif(WIN32) 33 elseif(WIN32)
33 list(APPEND SRC_FILES src/sys/win32/dark_theme.cpp) 34 list(APPEND SRC_FILES src/sys/win32/dark_theme.cpp)
34 endif() 35 endif()
35 36
36 add_executable(weeaboo WIN32 MACOSX_BUNDLE ${SRC_FILES}) 37 add_executable(weeaboo MACOSX_BUNDLE ${SRC_FILES})
37 set_property(TARGET weeaboo PROPERTY CXX_STANDARD 20) 38 set_property(TARGET weeaboo PROPERTY CXX_STANDARD 20)
38 set_property(TARGET weeaboo PROPERTY AUTOMOC ON) 39 set_property(TARGET weeaboo PROPERTY AUTOMOC ON)
39 set_property(TARGET weeaboo PROPERTY AUTORCC ON) 40 set_property(TARGET weeaboo PROPERTY AUTORCC ON)
40 41
41 find_package(Qt5 COMPONENTS Widgets REQUIRED) 42 find_package(Qt5 COMPONENTS Widgets REQUIRED)