Add web support
This commit is contained in:
@@ -3,7 +3,11 @@ project(Breeze C)
|
||||
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
|
||||
add_compile_options(-Wall -Wextra -Wpedantic -std=c11)
|
||||
if (EMSCRIPTEN)
|
||||
add_compile_options(-Wall -Wextra -Wpedantic)
|
||||
else()
|
||||
add_compile_options(-Wall -Wextra -Wpedantic -std=c11)
|
||||
endif()
|
||||
|
||||
add_compile_definitions(DEBUG_MODE)
|
||||
|
||||
@@ -92,6 +96,6 @@ file(COPY ${BreezeHeaders} DESTINATION "include")
|
||||
|
||||
if (${BUILD_BREEZE_TESTS})
|
||||
MESSAGE(STATUS "Building breeze tests is enabled")
|
||||
add_subdirectory(tests)
|
||||
#add_subdirectory(tests)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user