Skip to content

Commit 723f34f

Browse files
committed
do not omit frame pointer in tests
#test
1 parent 1b67a84 commit 723f34f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ if (WIN32)
296296
/W4 # enable all warnings
297297
/MP # multi-processor compilation
298298
/EHs # C++ Exception handling
299+
$<$<CONFIG:Debug>:/Oy-> # Disable frame pointer omission
299300
)
300301
endif()
301302
endif ()
@@ -388,7 +389,7 @@ if (MRDOCS_BUILD_TESTS)
388389
--action=test
389390
"${PROJECT_SOURCE_DIR}/test-files/golden-tests"
390391
"--addons=${CMAKE_SOURCE_DIR}/share/mrdocs/addons"
391-
--generate=${testgenerator}
392+
--generator=${testgenerator}
392393
"--stdlib-includes=${LIBCXX_DIR}"
393394
"--stdlib-includes=${STDLIB_INCLUDE_DIR}"
394395
"--libc-includes=${CMAKE_SOURCE_DIR}/share/mrdocs/headers/libc-stubs"
@@ -403,7 +404,7 @@ if (MRDOCS_BUILD_TESTS)
403404
--action=${action}
404405
"${PROJECT_SOURCE_DIR}/test-files/golden-tests"
405406
"--addons=${CMAKE_SOURCE_DIR}/share/mrdocs/addons"
406-
--generate=${testgenerator}
407+
--generator=${testgenerator}
407408
"--stdlib-includes=${LIBCXX_DIR}"
408409
"--stdlib-includes=${STDLIB_INCLUDE_DIR}"
409410
"--libc-includes=${CMAKE_SOURCE_DIR}/share/mrdocs/headers/libc-stubs"

0 commit comments

Comments
 (0)