mirror of
https://github.com/reactos/reactos.git
synced 2024-11-03 13:25:57 +00:00
23373acbb9
There is no need to compile our DLLs as shared libraries since we are managing symbols exports and imports through spec files. On my system, this reduces the configure-time by a factor of two.
13 lines
581 B
CMake
13 lines
581 B
CMake
|
|
set(fusion_folder "${CMAKE_CURRENT_SOURCE_DIR}/..")
|
|
spec2def(fusion.dll fusion.spec)
|
|
|
|
add_library(fusion_2_0 MODULE
|
|
${fusion_folder}/version.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/fusion.def)
|
|
|
|
set_module_type(fusion_2_0 win32dll)
|
|
target_link_libraries(fusion_2_0 fusion_common uuid wine)
|
|
set_target_properties(fusion_2_0 PROPERTIES OUTPUT_NAME "fusion" PDB_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
|
|
add_importlibs(fusion_2_0 advapi32 dbghelp shlwapi user32 msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET fusion_2_0 DESTINATION reactos/Microsoft.NET/Framework/v2.0.50727 FOR all)
|