-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
62 lines (57 loc) · 1.71 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
cmake_minimum_required(VERSION 3.21)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
project(DayAndNightSystem VERSION 1.0.0)
add_library(${PROJECT_NAME} SHARED
src/LevelInfoLayer.cpp
src/MenuLayer.cpp
src/CreatorLayer.cpp
src/LevelSearchLayer.cpp
src/LevelBrowserLayer.cpp
src/EditLevelLayer.cpp
src/LeaderboardsLayer.cpp
src/LevelSelectLayer.cpp
src/LevelAreaLayer.cpp
src/DailyLevelPage.cpp
src/ProfilePage.cpp
src/RewardsPage.cpp
src/ChallengesPage.cpp
src/MoreSearchLayer.cpp
src/InfoLayer.cpp
src/LevelLeaderboard.cpp
src/MessagesProfilePage.cpp
src/FriendsProfilePage.cpp
src/FRequestProfilePage.cpp
src/GJAccountSettingsLayer.cpp
src/RateDemonLayer.cpp
src/DemonInfoPopup.cpp
src/StarInfoPopup.cpp
src/MoreOptionsLayer.cpp
src/VideoOptionsLayer.cpp
src/TutorialLayer.cpp
src/LevelListLayer.cpp
src/LevelListLayer.cpp
src/GJPathsLayer.cpp
src/MoreVideoOptionsLayer.cpp
src/LikeItemLayer.cpp
src/RateStarsLayer.cpp
src/UploadActionPopup.cpp
src/ShareLevelLayer.cpp
src/ShareLevelSettingsLayer.cpp
src/SetTextPopup.cpp
src/GJPromoPopup.cpp
src/SetFolderPopup.cpp
src/ShareCommentLayer.cpp
src/Utils.hpp
src/Utils.cpp
# Add any extra C++ source files here
)
if (NOT DEFINED ENV{GEODE_SDK})
message(FATAL_ERROR "Unable to find Geode SDK! Please define GEODE_SDK environment variable to point to Geode")
else()
message(STATUS "Found Geode: $ENV{GEODE_SDK}")
endif()
add_subdirectory($ENV{GEODE_SDK} ${CMAKE_CURRENT_BINARY_DIR}/geode)
setup_geode_mod(${PROJECT_NAME})