Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b24848ca5c | ||
|
|
25aa00a192 |
+13
-13
@@ -1,39 +1,39 @@
|
||||
[submodule "external/nuklear"]
|
||||
path = external/nuklear
|
||||
url = https://github.com/Immediate-Mode-UI/Nuklear.git
|
||||
url = ../Nuklear.git
|
||||
[submodule "external/plutosvg"]
|
||||
path = external/plutosvg
|
||||
url = https://github.com/sammycage/plutosvg.git
|
||||
url = ../plutosvg.git
|
||||
[submodule "external/ionicons"]
|
||||
path = external/ionicons
|
||||
url = https://github.com/ionic-team/ionicons.git
|
||||
url = ../ionicons.git
|
||||
[submodule "external/SDL"]
|
||||
path = external/SDL
|
||||
url = https://github.com/libsdl-org/SDL.git
|
||||
url = ../SDL.git
|
||||
[submodule "external/lcui"]
|
||||
path = external/lcui
|
||||
url = https://github.com/lc-soft/LCUI.git
|
||||
url = ../LCUI.git
|
||||
[submodule "external/onlay"]
|
||||
path = external/onlay
|
||||
url = https://github.com/Alpaq92/Onlay.git
|
||||
url = ../Onlay.git
|
||||
[submodule "external/mojibake"]
|
||||
path = external/mojibake
|
||||
url = https://github.com/zaerl/mojibake.git
|
||||
url = ../mojibake.git
|
||||
[submodule "external/kb"]
|
||||
path = external/kb
|
||||
url = https://github.com/JimmyLefevre/kb.git
|
||||
url = ../kb.git
|
||||
[submodule "external/nukanim"]
|
||||
path = external/nukanim
|
||||
url = https://github.com/Alpaq92/NukAnim.git
|
||||
url = ../NukAnim.git
|
||||
[submodule "external/mglibs"]
|
||||
path = external/mglibs
|
||||
url = https://github.com/mattiasgustavsson/libs.git
|
||||
url = ../libs.git
|
||||
[submodule "external/watercss"]
|
||||
path = external/watercss
|
||||
url = https://github.com/kognise/water.css
|
||||
url = ../water.css.git
|
||||
[submodule "external/simplecss"]
|
||||
path = external/simplecss
|
||||
url = https://github.com/kevquirk/simple.css
|
||||
url = ../simple.css.git
|
||||
[submodule "external/freetype"]
|
||||
path = external/freetype
|
||||
url = https://github.com/freetype/freetype
|
||||
url = ../freetype.git
|
||||
|
||||
+5
-2
@@ -56,8 +56,11 @@ if(CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
|
||||
set(SDL_DEPS_SHARED OFF CACHE BOOL "" FORCE)
|
||||
endif()
|
||||
|
||||
# A static program keeps only the functions it calls; MSVC's Release does this already.
|
||||
if(NOT MSVC AND NOT EMSCRIPTEN)
|
||||
# A static program keeps only the functions and data it uses. MSVC's Release
|
||||
# already splits functions; /Gw splits data.
|
||||
if(MSVC)
|
||||
add_compile_options(/Gw)
|
||||
elseif(NOT EMSCRIPTEN)
|
||||
add_compile_options(-ffunction-sections -fdata-sections)
|
||||
endif()
|
||||
add_subdirectory("${TP}/SDL" EXCLUDE_FROM_ALL)
|
||||
|
||||
Reference in New Issue
Block a user