Watcom: Drop symfile linker option
Cleanup of Windows-wcl386.cmake in commit v3.1.0-rc1~693^2 (Watcom: Cleanup Windows-wcl386 configuration, 2014-04-01) also introduced use of the 'symfile' link option but did not mention it in the commit message. There is no way to set the symbol file name of a target, so it is better to revert that change. It is easy to run 'wstrip *' if the symbols need to be stripped, but it is very difficult to get the right names for the .sym files to install with debug/rel_with_deb_info configurations.
This commit is contained in:
parent
54ff77dc62
commit
6b63942e45
|
@ -18,8 +18,8 @@ set(CMAKE_CREATE_CONSOLE_EXE "system nt" )
|
|||
set(CMAKE_SHARED_LINKER_FLAGS_INIT "system nt_dll")
|
||||
set(CMAKE_MODULE_LINKER_FLAGS_INIT "system nt_dll")
|
||||
foreach(type SHARED MODULE EXE)
|
||||
set(CMAKE_${type}_LINKER_FLAGS_DEBUG_INIT "debug all opt map, symfile")
|
||||
set(CMAKE_${type}_LINKER_FLAGS_RELWITHDEBINFO_INIT "debug all opt map, symfile")
|
||||
set(CMAKE_${type}_LINKER_FLAGS_DEBUG_INIT "debug all opt map")
|
||||
set(CMAKE_${type}_LINKER_FLAGS_RELWITHDEBINFO_INIT "debug all opt map")
|
||||
endforeach()
|
||||
|
||||
set(CMAKE_C_COMPILE_OPTIONS_DLL "-bd") # Note: This variable is a ';' separated list
|
||||
|
|
Loading…
Reference in New Issue