Adjust Windows stack and heap reservations for FST4(W) code

This commit is contained in:
Bill Somerville 2020-10-21 01:36:00 +01:00
parent f2bbf98cbb
commit 6c077397dc
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -1170,6 +1170,11 @@ target_link_libraries (ft4sim_mult wsjt_fort wsjt_cxx)
add_executable (fst4sim lib/fst4/fst4sim.f90) add_executable (fst4sim lib/fst4/fst4sim.f90)
target_link_libraries (fst4sim wsjt_fort wsjt_cxx) target_link_libraries (fst4sim wsjt_fort wsjt_cxx)
if (WIN32)
set_target_properties (fst4sim PROPERTIES
LINK_FLAGS -Wl,--stack,0x4000000,--heap,0x6000000
)
endif ()
add_executable (ldpcsim240_101 lib/fst4/ldpcsim240_101.f90) add_executable (ldpcsim240_101 lib/fst4/ldpcsim240_101.f90)
target_link_libraries (ldpcsim240_101 wsjt_fort wsjt_cxx) target_link_libraries (ldpcsim240_101 wsjt_fort wsjt_cxx)
@ -1432,7 +1437,7 @@ else ()
) )
if (WIN32) if (WIN32)
set_target_properties (wsjtx PROPERTIES set_target_properties (wsjtx PROPERTIES
LINK_FLAGS -Wl,--stack,16777216 LINK_FLAGS -Wl,--stack,0x400000,--heap,0x20000000
) )
endif () endif ()
endif () endif ()