Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
skhaz committed Nov 22, 2023
1 parent 1ac762d commit 78d68d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,8 @@ jobs:
[tool_requires]
*: emsdk/3.1.44
[conf]
tools.build:cflags=["-fsanitize=address"]
tools.build:cxxflags=["-fsanitize=address"]
tools.build:cflags=["-g -fsanitize=address"]
tools.build:cxxflags=["-g -fsanitize=address"]
tools.build:exelinkflags=["-fsanitize=address"]
tools.build:sharedlinkflags=["-fsanitize=address"]
EOF
Expand All @@ -88,7 +87,7 @@ jobs:

- name: Install WebAssembly Dependencies
if: matrix.config.name == 'WebAssembly'
run: conan install .. --output-folder=. --build=missing --profile=webassembly --settings compiler.cppstd=17 --settings build_type=Release
run: conan install .. --output-folder=. --build=missing --profile=webassembly --settings compiler.cppstd=17 --settings build_type=Debug
working-directory: build

- name: Configure
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Emscripten")
target_link_libraries(${PROJECT_NAME} "-s INITIAL_MEMORY=134217728")
target_link_libraries(${PROJECT_NAME} "-s EXPORTED_RUNTIME_METHODS=['callMain']")

target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra -Werror -pedantic -O2 -flto)
target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra -Werror -pedantic -Og -g)
elseif(CMAKE_BUILD_TYPE MATCHES "Debug")
if (MSVC)
target_compile_options(${PROJECT_NAME} PRIVATE /W4 /Od /Zi)
Expand Down

0 comments on commit 78d68d0

Please sign in to comment.