reactos/dll/appcompat/shims/genral/CMakeLists.txt
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
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.
2019-04-06 17:43:38 +02:00

21 lines
474 B
CMake

include_directories(${SHIMLIB_DIR})
spec2def(acgenral.dll genral.spec)
list(APPEND SOURCE
ignoredbgout.c
ignorefreelib.c
main.c
themes.c
genral.spec)
add_library(acgenral MODULE
${SOURCE}
${CMAKE_CURRENT_BINARY_DIR}/acgenral.def)
set_module_type(acgenral win32dll ENTRYPOINT DllMain 12)
target_link_libraries(acgenral shimlib)
add_importlibs(acgenral uxtheme kernel32 ntdll)
add_cd_file(TARGET acgenral DESTINATION reactos/AppPatch FOR all)