mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
![Jérôme Gardou](/assets/img/avatar_default.png)
- rewrite spec2def macro because 1. cmake gracefully handles def files as source files 2. cmake gracefully handles autogenerated files as source 3. it did not take into account the fact that all shared libraries haven't the .dll extension svn path=/branches/cmake-bringup/; revision=49358
26 lines
362 B
CMake
26 lines
362 B
CMake
|
|
set_unicode()
|
|
|
|
spec2def(appwiz.cpl appwiz.spec)
|
|
|
|
add_library(appwiz SHARED
|
|
appwiz.c
|
|
createlink.c
|
|
appwiz.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/appwiz.def)
|
|
|
|
set_module_type(appwiz cpl)
|
|
|
|
target_link_libraries(appwiz uuid)
|
|
|
|
add_importlibs(appwiz
|
|
msvcrt
|
|
user32
|
|
ole32
|
|
advapi32
|
|
comctl32
|
|
shell32
|
|
kernel32)
|
|
|
|
add_cab_target(appwiz 1)
|