1c2c66affSColin Finck
2c2c66affSColin Finckspec2def(dllexport_test_dll1.dll dllexport_test_dll1.spec ADD_IMPORTLIB)
3c2c66affSColin Finckspec2def(dllexport_test_dll2.dll dllexport_test_dll2.spec ADD_IMPORTLIB)
4c2c66affSColin Finck
5c2c66affSColin Finckset(baseaddress_dllexport_test_dll1 0x1000000)
6c2c66affSColin Finck
723373acbSJérôme Gardouadd_library(dllexport_test_dll1 MODULE
8c2c66affSColin Finck    dllexport_test_dll1.c
9c2c66affSColin Finck    ${CMAKE_CURRENT_BINARY_DIR}/dllexport_test_dll1.def)
10c2c66affSColin Finck
11c2c66affSColin Finckset_module_type(dllexport_test_dll1 module)
12c2c66affSColin Finckadd_importlibs(dllexport_test_dll1 dllexport_test_dll2)
13c2c66affSColin Finck
14c2c66affSColin Finckset(baseaddress_dllexport_test_dll2 0x2000000)
15c2c66affSColin Finck
1623373acbSJérôme Gardouadd_library(dllexport_test_dll2 MODULE
17c2c66affSColin Finck    dllexport_test_dll2.c
18c2c66affSColin Finck    ${CMAKE_CURRENT_BINARY_DIR}/dllexport_test_dll2.def)
19c2c66affSColin Finck
20c2c66affSColin Finckset_module_type(dllexport_test_dll2 module)
21c2c66affSColin Finck
22c2c66affSColin Finckadd_executable(dllexport_test dllexport_test.c)
23c2c66affSColin Finckset_module_type(dllexport_test win32cui)
24c2c66affSColin Finckadd_importlibs(dllexport_test dllexport_test_dll1 msvcrt kernel32 ntdll)
25c2c66affSColin Finck
2623373acbSJérôme Gardouadd_library(dllimport_test MODULE dllimport_framedyn.cpp)
27c2c66affSColin Finckset_module_type(dllimport_test module)
28c2c66affSColin Finckadd_importlibs(dllimport_test framedyn)
29*061c7ecbSJérôme Gardouadd_dependencies(dllimport_test psdk)
30