comparison CMakeLists.txt @ 81:9b2b41f83a5e

boring: mass rename to cc because this is a very unix-y project, it makes more sense to use the 'cc' extension
author Paper <mrpapersonic@gmail.com>
date Mon, 23 Oct 2023 12:07:27 -0400
parents d3e9310598b1
children 8b65c417c225
comparison
equal deleted inserted replaced
80:825506f0e221 81:9b2b41f83a5e
46 list(APPEND LIBRARIES ${COCOA_LIBRARY}) 46 list(APPEND LIBRARIES ${COCOA_LIBRARY})
47 endif() 47 endif()
48 48
49 set(SRC_FILES 49 set(SRC_FILES
50 # Main entrypoint 50 # Main entrypoint
51 src/main.cpp 51 src/main.cc
52 52
53 # Core files and datatype declarations... 53 # Core files and datatype declarations...
54 src/core/anime.cpp 54 src/core/anime.cc
55 src/core/anime_db.cpp 55 src/core/anime_db.cc
56 src/core/config.cpp 56 src/core/config.cc
57 src/core/date.cpp 57 src/core/date.cc
58 src/core/filesystem.cpp 58 src/core/filesystem.cc
59 src/core/http.cpp 59 src/core/http.cc
60 src/core/json.cpp 60 src/core/json.cc
61 src/core/strings.cpp 61 src/core/strings.cc
62 src/core/time.cpp 62 src/core/time.cc
63 63
64 # Main window 64 # Main window
65 src/gui/window.cpp 65 src/gui/window.cc
66 src/gui/dark_theme.cpp 66 src/gui/dark_theme.cc
67 67
68 # Main window pages 68 # Main window pages
69 src/gui/pages/anime_list.cpp 69 src/gui/pages/anime_list.cc
70 src/gui/pages/now_playing.cpp 70 src/gui/pages/now_playing.cc
71 src/gui/pages/statistics.cpp 71 src/gui/pages/statistics.cc
72 src/gui/pages/search.cpp 72 src/gui/pages/search.cc
73 src/gui/pages/seasons.cpp 73 src/gui/pages/seasons.cc
74 src/gui/pages/torrents.cpp 74 src/gui/pages/torrents.cc
75 src/gui/pages/history.cpp 75 src/gui/pages/history.cc
76 76
77 77
78 # Custom widgets 78 # Custom widgets
79 src/gui/widgets/anime_info.cpp 79 src/gui/widgets/anime_info.cc
80 src/gui/widgets/poster.cpp 80 src/gui/widgets/poster.cc
81 src/gui/widgets/clickable_label.cpp 81 src/gui/widgets/clickable_label.cc
82 src/gui/widgets/sidebar.cpp 82 src/gui/widgets/sidebar.cc
83 src/gui/widgets/text.cpp 83 src/gui/widgets/text.cc
84 src/gui/widgets/optional_date.cpp 84 src/gui/widgets/optional_date.cc
85 85
86 # Dialogs 86 # Dialogs
87 src/gui/dialog/about.cpp 87 src/gui/dialog/about.cc
88 src/gui/dialog/information.cpp 88 src/gui/dialog/information.cc
89 src/gui/dialog/settings.cpp 89 src/gui/dialog/settings.cc
90 src/gui/dialog/settings/application.cpp 90 src/gui/dialog/settings/application.cc
91 src/gui/dialog/settings/services.cpp 91 src/gui/dialog/settings/services.cc
92 92
93 # Translate 93 # Translate
94 src/gui/translate/anime.cpp 94 src/gui/translate/anime.cc
95 src/gui/translate/anilist.cpp 95 src/gui/translate/anilist.cc
96 96
97 # Services (only AniList for now) 97 # Services (only AniList for now)
98 src/services/services.cpp 98 src/services/services.cc
99 src/services/anilist.cpp 99 src/services/anilist.cc
100 100
101 # Tracking 101 # Tracking
102 src/track/media.cpp 102 src/track/media.cc
103 103
104 # Qt resources 104 # Qt resources
105 rc/icons.qrc 105 rc/icons.qrc
106 dep/darkstyle/darkstyle.qrc 106 dep/darkstyle/darkstyle.qrc
107 ) 107 )
110 list(APPEND SRC_FILES 110 list(APPEND SRC_FILES
111 src/sys/osx/dark_theme.mm 111 src/sys/osx/dark_theme.mm
112 src/sys/osx/filesystem.mm 112 src/sys/osx/filesystem.mm
113 ) 113 )
114 elseif(WIN32) # Windows 114 elseif(WIN32) # Windows
115 list(APPEND SRC_FILES src/sys/win32/dark_theme.cpp) 115 list(APPEND SRC_FILES src/sys/win32/dark_theme.cc)
116 endif() 116 endif()
117 117
118 add_executable(minori ${SRC_FILES}) 118 add_executable(minori ${SRC_FILES})
119 set_property(TARGET minori PROPERTY CXX_STANDARD 11) 119 set_property(TARGET minori PROPERTY CXX_STANDARD 11)
120 set_property(TARGET minori PROPERTY AUTOMOC ON) 120 set_property(TARGET minori PROPERTY AUTOMOC ON)