* Module type win32dll ENTRYPOINT 0 => module.

svn path=/trunk/; revision=64703
This commit is contained in:
Amine Khaldi 2014-10-12 22:28:39 +00:00
parent b62c758526
commit 64a6fffdbc

View file

@ -6,14 +6,14 @@ set(baseaddress_dllexport_test_dll1 0x1000000)
add_library(dllexport_test_dll1 SHARED add_library(dllexport_test_dll1 SHARED
dllexport_test_dll1.c dllexport_test_dll1.c
${CMAKE_CURRENT_BINARY_DIR}/dllexport_test_dll1.def) ${CMAKE_CURRENT_BINARY_DIR}/dllexport_test_dll1.def)
set_module_type(dllexport_test_dll1 win32dll ENTRYPOINT 0) set_module_type(dllexport_test_dll1 module)
add_importlibs(dllexport_test_dll1 dllexport_test_dll2) add_importlibs(dllexport_test_dll1 dllexport_test_dll2)
set(baseaddress_dllexport_test_dll2 0x2000000) set(baseaddress_dllexport_test_dll2 0x2000000)
add_library(dllexport_test_dll2 SHARED add_library(dllexport_test_dll2 SHARED
dllexport_test_dll2.c dllexport_test_dll2.c
${CMAKE_CURRENT_BINARY_DIR}/dllexport_test_dll2.def) ${CMAKE_CURRENT_BINARY_DIR}/dllexport_test_dll2.def)
set_module_type(dllexport_test_dll2 win32dll ENTRYPOINT 0) set_module_type(dllexport_test_dll2 module)
add_executable(dllexport_test add_executable(dllexport_test
dllexport_test.c) dllexport_test.c)
@ -27,7 +27,7 @@ endif()
add_library(dllimport_test SHARED add_library(dllimport_test SHARED
dllimport_framedyn.cpp) dllimport_framedyn.cpp)
set_module_type(dllimport_test win32dll ENTRYPOINT 0) set_module_type(dllimport_test module)
add_importlibs(dllimport_test framedyn) add_importlibs(dllimport_test framedyn)
if(NOT MSVC) if(NOT MSVC)
target_link_libraries(dllimport_test framedynex) target_link_libraries(dllimport_test framedynex)