handle custom platform
This commit is contained in:
parent
0748dc2d1e
commit
30ccc969de
2 changed files with 3514 additions and 10 deletions
5
external/custom_platforms/custom_platform_1/cmake/raylibPlatformCustomLibraryConfig.cmake
vendored
Normal file
5
external/custom_platforms/custom_platform_1/cmake/raylibPlatformCustomLibraryConfig.cmake
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
message(STATUS "From raylibPlatformCustomLibraryConfig (Custom platform 1 (Web)")
|
||||
|
||||
set(GRAPHICS "GRAPHICS_API_OPENGL_ES2")
|
||||
set(CMAKE_LD_FLAGS "${CMAKE_LD_FLAGS} -s USE_GLFW=3 -s ASSERTIONS=1 --profiling")
|
||||
set(CMAKE_STATIC_LIBRARY_SUFFIX ".a")
|
||||
3
external/custom_platforms/custom_platform_1/cmake/raylibPlatformCustomTargetConfig.cmake
vendored
Normal file
3
external/custom_platforms/custom_platform_1/cmake/raylibPlatformCustomTargetConfig.cmake
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
message(STATUS "From raylibPlatformCustomTargetConfig (Custom platform 1 (Web)")
|
||||
|
||||
target_link_options(raylib PRIVATE "-sUSE_GLFW=3")
|
||||
Loading…
Reference in a new issue