File tree Expand file tree Collapse file tree 1 file changed +31
-5
lines changed
Expand file tree Collapse file tree 1 file changed +31
-5
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,34 @@ endfunction()
2222
2323set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -fsanitize-recover=address" )
2424
25- add_subdirectory (cars)
26- add_subdirectory (scraps)
27- add_subdirectory (airships)
28- add_subdirectory (ondisseia)
29- add_subdirectory (roll_racers)
25+ # Add the subdirectories for each demo project
26+
27+ option (BUILD_CARS "Build legacy cars demo" ON )
28+ message ("Building legacy cars demo: ${BUILD_CARS} " )
29+ if (BUILD_CARS)
30+ add_subdirectory (cars)
31+ endif ()
32+
33+ option (BUILD_SCRAPS "Build Scraps vs Zombies" ON )
34+ message ("Building Scraps vs Zombies: ${BUILD_SCRAPS} " )
35+ if (BUILD_SCRAPS)
36+ add_subdirectory (scraps)
37+ endif ()
38+
39+ option (BUILD_AIRSHIPS "Build Airships" ON )
40+ message ("Building Airships: ${BUILD_AIRSHIPS} " )
41+ if (BUILD_AIRSHIPS)
42+ add_subdirectory (airships)
43+ endif ()
44+
45+ option (BUILD_ONDISSEIA "Build Ondisseia" ON )
46+ message ("Building Ondisseia: ${BUILD_ONDISSEIA} " )
47+ if (BUILD_ONDISSEIA)
48+ add_subdirectory (ondisseia)
49+ endif ()
50+
51+ option (BUILD_ROLL_RACERS "Build Roll Racers" ON )
52+ message ("Building Roll Racers: ${BUILD_ROLL_RACERS} " )
53+ if (BUILD_ROLL_RACERS)
54+ add_subdirectory (roll_racers)
55+ endif ()
You can’t perform that action at this time.
0 commit comments