mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 06:46:06 +00:00
[CMAKE]
Convert acledit to pdef svn path=/branches/cmake-bringup/; revision=49526
This commit is contained in:
parent
c4f1145fca
commit
da76b4e5c2
1 changed files with 5 additions and 7 deletions
|
@ -1,22 +1,20 @@
|
||||||
|
|
||||||
set_unicode()
|
set_unicode()
|
||||||
|
|
||||||
pdef2def(acledit.pdef)
|
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
acledit.c
|
acledit.c
|
||||||
stubs.c
|
stubs.c
|
||||||
acledit.rc
|
acledit.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/acledit.def)
|
)
|
||||||
|
|
||||||
if(NOT MSVC)
|
|
||||||
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/acledit.def PROPERTIES EXTERNAL_OBJECT TRUE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_library(acledit SHARED ${SOURCE})
|
add_library(acledit SHARED ${SOURCE})
|
||||||
|
|
||||||
set_module_type(acledit win32dll)
|
set_module_type(acledit win32dll)
|
||||||
|
|
||||||
|
set_pdef_file(acledit acledit.pdef)
|
||||||
|
|
||||||
add_importlibs(acledit ntdll)
|
add_importlibs(acledit ntdll)
|
||||||
|
|
||||||
add_cab_target(acledit 1)
|
add_cab_target(acledit 1)
|
||||||
|
|
||||||
|
add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/acledit.def)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue