2014-02-20 20:29:51 +00:00
|
|
|
|
|
|
|
spec2def(dllexport_test_dll1.dll dllexport_test_dll1.spec ADD_IMPORTLIB)
|
|
|
|
spec2def(dllexport_test_dll2.dll dllexport_test_dll2.spec ADD_IMPORTLIB)
|
|
|
|
|
2014-05-31 16:00:05 +00:00
|
|
|
set(baseaddress_dllexport_test_dll1 0x1000000)
|
2014-10-17 23:29:24 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(dllexport_test_dll1 MODULE
|
2014-02-20 20:29:51 +00:00
|
|
|
dllexport_test_dll1.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dllexport_test_dll1.def)
|
2014-10-17 23:29:24 +00:00
|
|
|
|
2014-10-12 22:28:39 +00:00
|
|
|
set_module_type(dllexport_test_dll1 module)
|
2014-02-20 20:29:51 +00:00
|
|
|
add_importlibs(dllexport_test_dll1 dllexport_test_dll2)
|
|
|
|
|
2014-05-31 16:00:05 +00:00
|
|
|
set(baseaddress_dllexport_test_dll2 0x2000000)
|
2014-10-17 23:29:24 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(dllexport_test_dll2 MODULE
|
2014-02-20 20:29:51 +00:00
|
|
|
dllexport_test_dll2.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dllexport_test_dll2.def)
|
|
|
|
|
2014-10-17 23:29:24 +00:00
|
|
|
set_module_type(dllexport_test_dll2 module)
|
2014-02-20 20:29:51 +00:00
|
|
|
|
2014-10-17 23:29:24 +00:00
|
|
|
add_executable(dllexport_test dllexport_test.c)
|
2014-02-20 20:29:51 +00:00
|
|
|
set_module_type(dllexport_test win32cui)
|
|
|
|
add_importlibs(dllexport_test dllexport_test_dll1 msvcrt kernel32 ntdll)
|
2014-09-30 20:52:54 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(dllimport_test MODULE dllimport_framedyn.cpp)
|
2014-10-12 22:28:39 +00:00
|
|
|
set_module_type(dllimport_test module)
|
2014-10-02 08:23:38 +00:00
|
|
|
add_importlibs(dllimport_test framedyn)
|
2021-04-29 08:53:08 +00:00
|
|
|
add_dependencies(dllimport_test psdk)
|