mirror of
https://github.com/UltraCoderRU/screepsxx.git
synced 2026-01-28 01:55:12 +00:00
Remove some CXX flags to give user more control.
This commit is contained in:
parent
f600cba8b7
commit
48806408de
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ option(SCREEPSXX_ENABLE_PCH ON "Enable precompiled headers")
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
|
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s ALLOW_MEMORY_GROWTH=1 -s DEMANGLE_SUPPORT=1 -s ASSERTIONS=1 --cache ${CMAKE_BINARY_DIR}/cache")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s STRICT=0 -s ALLOW_MEMORY_GROWTH=1")
|
||||||
|
|
||||||
file(GLOB_RECURSE SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp)
|
file(GLOB_RECURSE SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp)
|
||||||
add_library(screepsxx STATIC ${SOURCES})
|
add_library(screepsxx STATIC ${SOURCES})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue