forked from djyt/cannonball
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
503 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Switch CMake Setup. | ||
|
||
set(sdl_root $ENV{DEVKITPRO}/portlibs/switch/include/SDL2) | ||
|
||
include_directories( | ||
"${sdl_root}" | ||
) | ||
|
||
link_libraries( | ||
SDL2 | ||
EGL | ||
GLESv2 | ||
glapi | ||
drm_nouveau | ||
nx | ||
png | ||
jpeg | ||
z | ||
m | ||
c | ||
) | ||
|
||
add_definitions(-O3 -DSDL2 -D__SWITCH__) | ||
|
||
# Location for Cannonball to create save files | ||
# Used to auto-generate setup.hpp with various file paths | ||
set(xml_directory ./) | ||
set(sdl_flags "0") | ||
|
||
# Set SDL2 instead of SDL1 | ||
set(SDL2 1) |
Oops, something went wrong.