summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2026-03-13 12:05:57 -0600
committerKiritoDv <kiritodev01@gmail.com>2026-03-13 12:05:57 -0600
commit91bfca307fc9f6f3fb77a3cb60653c69b6df526d (patch)
treed36f106d0f8729cc38fa4b9e177f8b0a2a118154 /CMakeLists.txt
parent67192cea925441501c4990104e6d3e9240092c11 (diff)
Implemented PM64 factories
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7aab478..44a70e7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,6 +15,7 @@ option(ENABLE_ASAN "Enable AddressSanitizer" OFF)
option(BUILD_SM64 "Build with Super Mario 64 support" ON)
option(BUILD_MK64 "Build with Mario Kart 64 support" ON)
option(BUILD_SF64 "Build with Star Fox 64 support" ON)
+option(BUILD_PM64 "Build with Paper Mario support" ON)
option(BUILD_FZERO "Build with F-Zero X support" ON)
option(BUILD_MARIO_ARTIST "Build with Mario Artist support" ON)
option(BUILD_NAUDIO "Build with NAudio support" ON)
@@ -90,6 +91,12 @@ else()
list(FILTER SRC_DIR EXCLUDE REGEX "${CMAKE_CURRENT_SOURCE_DIR}/src/factories/mk64/*")
endif()
+if(BUILD_PM64)
+ add_definitions(-DPM64_SUPPORT)
+else()
+ list(FILTER SRC_DIR EXCLUDE REGEX "${CMAKE_CURRENT_SOURCE_DIR}/src/factories/pm64/*")
+endif()
+
if(BUILD_FZERO)
add_definitions(-DFZERO_SUPPORT)
else()