mirror of
https://github.com/reactos/reactos.git
synced 2024-08-30 07:08:19 +00:00
![Jérôme Gardou](/assets/img/avatar_default.png)
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.
12 lines
277 B
CMake
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)
|