forked from nba-emu/NanoBoyAdvance
-
Notifications
You must be signed in to change notification settings - Fork 0
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
7 changed files
with
5,029 additions
and
22 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
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,13 @@ | ||
if (EMSCRIPTEN) | ||
set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS TRUE) | ||
set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-s SIDE_MODULE=1") | ||
set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-s SIDE_MODULE=1") | ||
set(CMAKE_SHARED_LIBRARY_SUFFIX_CXX ".wasm") | ||
set(CMAKE_STRIP FALSE) | ||
endif() | ||
|
||
add_library(NanoBoyAdvance-hydra SHARED src/core.cpp) | ||
|
||
target_include_directories(NanoBoyAdvance-hydra PUBLIC include) | ||
target_include_directories(NanoBoyAdvance-hydra PRIVATE src) | ||
target_link_libraries(NanoBoyAdvance-hydra PRIVATE platform-core) |
Oops, something went wrong.