Author: tkreuzer
Date: Mon Nov 8 12:58:32 2010
New Revision: 49526
URL:
http://svn.reactos.org/svn/reactos?rev=49526&view=rev
Log:
[CMAKE]
Convert acledit to pdef
Modified:
branches/cmake-bringup/dll/win32/acledit/CMakeLists.txt
Modified: branches/cmake-bringup/dll/win32/acledit/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/acledit…
==============================================================================
--- branches/cmake-bringup/dll/win32/acledit/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/acledit/CMakeLists.txt [iso-8859-1] Mon Nov 8
12:58:32 2010
@@ -1,22 +1,20 @@
set_unicode()
-
-pdef2def(acledit.pdef)
list(APPEND SOURCE
acledit.c
stubs.c
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})
set_module_type(acledit win32dll)
+set_pdef_file(acledit acledit.pdef)
+
add_importlibs(acledit ntdll)
add_cab_target(acledit 1)
+
+add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/acledit.def)