mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 07:28:38 +08:00
sim: add link option /LARGEADDRESSAWARE:NO for windows64
Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com>
This commit is contained in:
parent
b39807fae0
commit
ba5ee1929c
1 changed files with 3 additions and 0 deletions
|
@ -652,6 +652,9 @@ elseif(WIN32)
|
||||||
"${CONFIG_SIM_STACKSIZE_ADJUSTMENT} + ${CONFIG_IDLETHREAD_STACKSIZE}"
|
"${CONFIG_SIM_STACKSIZE_ADJUSTMENT} + ${CONFIG_IDLETHREAD_STACKSIZE}"
|
||||||
OUTPUT_FORMAT DECIMAL)
|
OUTPUT_FORMAT DECIMAL)
|
||||||
target_link_options(nuttx PUBLIC /STACK:${LINK_STACKSIZE},${LINK_STACKSIZE})
|
target_link_options(nuttx PUBLIC /STACK:${LINK_STACKSIZE},${LINK_STACKSIZE})
|
||||||
|
if("${CMAKE_GENERATOR_PLATFORM}" STREQUAL "x64")
|
||||||
|
target_link_options(nuttx PUBLIC /LARGEADDRESSAWARE:NO)
|
||||||
|
endif()
|
||||||
set(nuttx_libs_paths)
|
set(nuttx_libs_paths)
|
||||||
foreach(lib ${nuttx_libs})
|
foreach(lib ${nuttx_libs})
|
||||||
list(APPEND nuttx_libs_paths $<TARGET_FILE:${lib}>)
|
list(APPEND nuttx_libs_paths $<TARGET_FILE:${lib}>)
|
||||||
|
|
Loading…
Reference in a new issue