Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
[Merge chakra-core/ChakraCore@d4c8561029] [MERGE #3541 @obastemur] Be…
Browse files Browse the repository at this point in the history
…tter Debug coverage, smaller binary size

Merge pull request #3541 from obastemur:dbg_symx0

- add debug symbols to test builds
- keep libwabt debug symbols are being included on release builds.
  • Loading branch information
chakrabot authored and MSLaguana committed Sep 25, 2017
1 parent 1685cf3 commit b0afaed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions deps/chakrashim/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ elseif(CMAKE_BUILD_TYPE STREQUAL Test)
add_definitions(
-DENABLE_DEBUG_CONFIG_OPTIONS=1
)
add_compile_options(-g)
endif(CMAKE_BUILD_TYPE STREQUAL Debug)

if(NOT CMAKE_BUILD_TYPE STREQUAL Debug)
Expand Down
3 changes: 0 additions & 3 deletions deps/chakrashim/core/lib/wabt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ include_directories(chakra src ${CMAKE_CURRENT_SOURCE_DIR}/built)
# disable -Wunused-parameter: this is really common when implementing
# interfaces, etc.
# disable -Wpointer-arith: this is a GCC extension, and doesn't work in MSVC.
add_definitions(
-g -std=c++11
)

if (MINGW)
# Mingw won't define format (e.g. PRIu64) or limit (e.g. UINT32_MAX) macros
Expand Down

0 comments on commit b0afaed

Please sign in to comment.