reactos/dll/directx/d3d8thk/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

12 lines
277 B
CMake

spec2def(d3d8thk.dll d3d8thk.spec)
add_library(d3d8thk MODULE
d3d8thk.rc
${CMAKE_CURRENT_BINARY_DIR}/d3d8thk.def)
set_entrypoint(d3d8thk 0)
add_importlibs(d3d8thk gdi32)
add_dependencies(d3d8thk psdk)
add_cd_file(TARGET d3d8thk DESTINATION reactos/system32 FOR all)