Author: akhaldi
Date: Sat Aug 21 23:25:35 2010
New Revision: 48585
URL:
http://svn.reactos.org/svn/reactos?rev=48585&view=rev
Log:
[CMAKE]
- Add aclui to build.
Added:
branches/cmake-bringup/dll/win32/aclui/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/dll/win32/CMakeLists.txt
Modified: branches/cmake-bringup/dll/win32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/CMakeLi…
==============================================================================
--- branches/cmake-bringup/dll/win32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/CMakeLists.txt [iso-8859-1] Sat Aug 21 23:25:35 2010
@@ -1,4 +1,5 @@
+add_subdirectory(aclui)
add_subdirectory(advapi32)
add_subdirectory(gdi32)
add_subdirectory(kernel32)
Added: branches/cmake-bringup/dll/win32/aclui/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/aclui/C…
==============================================================================
--- branches/cmake-bringup/dll/win32/aclui/CMakeLists.txt (added)
+++ branches/cmake-bringup/dll/win32/aclui/CMakeLists.txt [iso-8859-1] Sat Aug 21 23:25:35
2010
@@ -1,0 +1,31 @@
+
+set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER>
<CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS>
<CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS>
<LINK_LIBRARIES>")
+
+add_definitions(-DUNICODE -D_UNICODE)
+add_definitions(-DSUPPORT_UXTHEME)
+
+file(GLOB_RECURSE SOURCE *.c)
+
+spec2def(aclui ${CMAKE_CURRENT_SOURCE_DIR}/aclui.spec
${CMAKE_CURRENT_BINARY_DIR}/aclui.def)
+
+add_library(aclui SHARED
+ ${SOURCE}
+ ${CMAKE_CURRENT_SOURCE_DIR}/aclui.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/aclui_precomp.h.gch)
+
+set_target_properties(aclui PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
+
+target_link_libraries(aclui
+ ${CMAKE_CURRENT_BINARY_DIR}/aclui.def
+ ${REACTOS_SOURCE_DIR}/dll/win32/user32/libuser32.a
+ ${REACTOS_SOURCE_DIR}/dll/win32/gdi32/libgdi32.a
+ -lcomctl32
+ -lole32
+ -loleaut32
+ ${REACTOS_SOURCE_DIR}/dll/win32/advapi32/libadvapi32.a
+ -luxtheme
+ ${REACTOS_SOURCE_DIR}/dll/win32/kernel32/libkernel32.a
+ ${REACTOS_SOURCE_DIR}/dll/ntdll/libntdll.a)
+
+add_pch(aclui ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
+add_dependencies(aclui aclui_def psdk)
Propchange: branches/cmake-bringup/dll/win32/aclui/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native