Add web support

This commit is contained in:
2023-11-21 06:09:37 +01:00
parent 9fac356492
commit 133a9740c8
4 changed files with 45 additions and 20 deletions

View File

@@ -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()