We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cd2e2e commit 5692eaeCopy full SHA for 5692eae
example/CMakeLists.txt
@@ -4,6 +4,10 @@ macro(ADD_EXAMPLE name)
4
add_test(NAME ${name}
5
COMMAND $<TARGET_FILE:example_${name}> ${CMAKE_CURRENT_BINARY_DIR}
6
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
7
+
8
+ if ( ${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
9
+ target_link_options(example_${name} PRIVATE "LINKER:-stack:10000000")
10
+ endif()
11
endmacro(ADD_EXAMPLE)
12
13
add_subdirectory(array)
0 commit comments