diff 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
line wrap: on
line diff
--- a/CMakeLists.txt	Fri Oct 13 13:15:19 2023 -0400
+++ b/CMakeLists.txt	Mon Oct 23 12:07:27 2023 -0400
@@ -48,58 +48,58 @@
 
 set(SRC_FILES
 	# Main entrypoint
-	src/main.cpp
+	src/main.cc
 
 	# Core files and datatype declarations...
-	src/core/anime.cpp
-	src/core/anime_db.cpp
-	src/core/config.cpp
-	src/core/date.cpp
-	src/core/filesystem.cpp
-	src/core/http.cpp
-	src/core/json.cpp
-	src/core/strings.cpp
-	src/core/time.cpp
+	src/core/anime.cc
+	src/core/anime_db.cc
+	src/core/config.cc
+	src/core/date.cc
+	src/core/filesystem.cc
+	src/core/http.cc
+	src/core/json.cc
+	src/core/strings.cc
+	src/core/time.cc
 
 	# Main window
-	src/gui/window.cpp
-	src/gui/dark_theme.cpp
+	src/gui/window.cc
+	src/gui/dark_theme.cc
 
 	# Main window pages
-	src/gui/pages/anime_list.cpp
-	src/gui/pages/now_playing.cpp
-	src/gui/pages/statistics.cpp
-	src/gui/pages/search.cpp
-	src/gui/pages/seasons.cpp
-	src/gui/pages/torrents.cpp
-	src/gui/pages/history.cpp
+	src/gui/pages/anime_list.cc
+	src/gui/pages/now_playing.cc
+	src/gui/pages/statistics.cc
+	src/gui/pages/search.cc
+	src/gui/pages/seasons.cc
+	src/gui/pages/torrents.cc
+	src/gui/pages/history.cc
 
 
 	# Custom widgets
-	src/gui/widgets/anime_info.cpp
-	src/gui/widgets/poster.cpp
-	src/gui/widgets/clickable_label.cpp
-	src/gui/widgets/sidebar.cpp
-	src/gui/widgets/text.cpp
-	src/gui/widgets/optional_date.cpp
+	src/gui/widgets/anime_info.cc
+	src/gui/widgets/poster.cc
+	src/gui/widgets/clickable_label.cc
+	src/gui/widgets/sidebar.cc
+	src/gui/widgets/text.cc
+	src/gui/widgets/optional_date.cc
 
 	# Dialogs
-	src/gui/dialog/about.cpp
-	src/gui/dialog/information.cpp
-	src/gui/dialog/settings.cpp
-	src/gui/dialog/settings/application.cpp
-	src/gui/dialog/settings/services.cpp
+	src/gui/dialog/about.cc
+	src/gui/dialog/information.cc
+	src/gui/dialog/settings.cc
+	src/gui/dialog/settings/application.cc
+	src/gui/dialog/settings/services.cc
 
 	# Translate
-	src/gui/translate/anime.cpp
-	src/gui/translate/anilist.cpp
+	src/gui/translate/anime.cc
+	src/gui/translate/anilist.cc
 
 	# Services (only AniList for now)
-	src/services/services.cpp
-	src/services/anilist.cpp
+	src/services/services.cc
+	src/services/anilist.cc
 
 	# Tracking
-	src/track/media.cpp
+	src/track/media.cc
 
 	# Qt resources
 	rc/icons.qrc
@@ -112,7 +112,7 @@
 		src/sys/osx/filesystem.mm
 	)
 elseif(WIN32) # Windows
-	list(APPEND SRC_FILES src/sys/win32/dark_theme.cpp)
+	list(APPEND SRC_FILES src/sys/win32/dark_theme.cc)
 endif()
 
 add_executable(minori ${SRC_FILES})