summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorjussi2024-04-13 18:44:42 +0300
committerjussi2024-04-13 18:44:42 +0300
commit1d66edf4f2390c25485ef4205b20c184de1c2f5d (patch)
tree7a3cd79e26d7b93a2fb4a3764171fbe90d22a9d4 /CMakeLists.txt
parentb96960a1f97f815a6872fedc422ea950ed477cda (diff)
downloadreilua-enhanced-1d66edf4f2390c25485ef4205b20c184de1c2f5d.tar.gz
reilua-enhanced-1d66edf4f2390c25485ef4205b20c184de1c2f5d.tar.bz2
reilua-enhanced-1d66edf4f2390c25485ef4205b20c184de1c2f5d.zip
Position argument added for GetCodepoint, GetCodepointNext and GetCodepointPrevious.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 094dd67..830795b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,8 +17,8 @@ option( LUA_EVENTS "Enable Lua event callbacks (RL.event)." off )
enum_option( PLATFORM "Desktop;Desktop_SDL;Web" "Platform to build for." )
if( NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES )
- set( CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE )
- set_property( CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo" )
+ set( CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE )
+ set_property( CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo" )
endif()
file( GLOB SOURCES src/*.c )
@@ -45,7 +45,7 @@ if( PLATFORM STREQUAL "Web" )
# Try "-s USE_PTHREADS" if not getting pixel perfect rendering.
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -s USE_GLFW=3 -s ASSERTIONS=1 -s WASM=1 -s ASYNCIFY" )
# set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -s USE_GLFW=3 -s ASSERTIONS=1 -s WASM=1 -s ASYNCIFY -s FORCE_FILESYSTEM=1" )
- set( CMAKE_EXECUTABLE_SUFFIX ".html" ) # This line is used to set your executable to build with the emscripten html template so that you can directly open it.
+ set( CMAKE_EXECUTABLE_SUFFIX ".html" ) # This line is used to set your executable to build with the emscripten html template so that you can directly open it.
set( resources_dir "resources@/" ) # Sets resources as root for the virtual file system.
set_target_properties( ${PROJECT_NAME} PROPERTIES LINK_FLAGS "--preload-file ${resources_dir}" )
else() # Desktop