mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
[CMAKE]
- Add win32ocx module type. - Disable the linker script for now. svn path=/branches/cmake-bringup/; revision=49015
This commit is contained in:
parent
3345c4056d
commit
cec00257f3
2 changed files with 6 additions and 1 deletions
|
@ -93,6 +93,10 @@ macro(set_module_type MODULE TYPE)
|
|||
if(${TYPE} MATCHES win32dll)
|
||||
set_entrypoint(${MODULE} DllMain@12)
|
||||
endif()
|
||||
if(${TYPE} MATCHES win32ocx)
|
||||
set_entrypoint(${MODULE} DllMain@12)
|
||||
set_target_properties(${MODULE} PROPERTIES SUFFIX ".ocx")
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
endif()
|
||||
|
|
|
@ -38,7 +38,8 @@ MARK_AS_ADVANCED(CLEAR CMAKE_CXX_STANDARD_LIBRARIES)
|
|||
set(CMAKE_CXX_STANDARD_LIBRARIES "")
|
||||
|
||||
if(ARCH MATCHES i386)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS_INIT "-nodefaultlibs -nostdlib -Wl,--enable-auto-image-base -Wl,--enable-stdcall-fixup -Wl,--kill-at -Wl,-T,${REACTOS_SOURCE_DIR}/global.lds")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS_INIT "-nodefaultlibs -nostdlib -Wl,--enable-auto-image-base -Wl,--enable-stdcall-fixup -Wl,--kill-at")
|
||||
#-Wl,-T,${REACTOS_SOURCE_DIR}/global.lds
|
||||
elseif(ARCH MATCHES amd64)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS_INIT "-nodefaultlibs -nostdlib -Wl,--enable-auto-image-base -Wl,--enable-stdcall-fixup -Wl,--kill-at")
|
||||
endif(ARCH MATCHES i386)
|
||||
|
|
Loading…
Reference in a new issue