Author: akhaldi
Date: Sat Aug 21 23:52:17 2010
New Revision: 48587
URL:
http://svn.reactos.org/svn/reactos?rev=48587&view=rev
Log:
[CMAKE]
- Add activeds, advpack and authz to build.
Added:
branches/cmake-bringup/dll/win32/activeds/CMakeLists.txt (with props)
branches/cmake-bringup/dll/win32/advpack/CMakeLists.txt (with props)
branches/cmake-bringup/dll/win32/authz/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/dll/win32/CMakeLists.txt
branches/cmake-bringup/dll/win32/acledit/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:52:17 2010
@@ -1,7 +1,10 @@
add_subdirectory(acledit)
add_subdirectory(aclui)
+add_subdirectory(activeds)
add_subdirectory(advapi32)
+add_subdirectory(advpack)
+add_subdirectory(authz)
add_subdirectory(gdi32)
add_subdirectory(kernel32)
add_subdirectory(msvcrt)
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] Sat Aug 21
23:52:17 2010
@@ -2,7 +2,6 @@
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)
Added: branches/cmake-bringup/dll/win32/activeds/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/actived…
==============================================================================
--- branches/cmake-bringup/dll/win32/activeds/CMakeLists.txt (added)
+++ branches/cmake-bringup/dll/win32/activeds/CMakeLists.txt [iso-8859-1] Sat Aug 21
23:52:17 2010
@@ -1,0 +1,19 @@
+
+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> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
+
+add_definitions(-D__WINESRC__)
+
+include_directories(${REACTOS_BINARY_DIR}/include/reactos/wine)
+
+spec2def(activeds ${CMAKE_CURRENT_SOURCE_DIR}/activeds.spec
${CMAKE_CURRENT_BINARY_DIR}/activeds.def)
+
+add_library(activeds SHARED activeds_main.c)
+
+set_target_properties(activeds PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
+
+target_link_libraries(activeds
+ ${CMAKE_CURRENT_BINARY_DIR}/activeds.def
+ wine
+ mingw_common)
+
+add_dependencies(activeds activeds_def psdk)
Propchange: branches/cmake-bringup/dll/win32/activeds/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/dll/win32/advpack/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/advpack…
==============================================================================
--- branches/cmake-bringup/dll/win32/advpack/CMakeLists.txt (added)
+++ branches/cmake-bringup/dll/win32/advpack/CMakeLists.txt [iso-8859-1] Sat Aug 21
23:52:17 2010
@@ -1,0 +1,25 @@
+
+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> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
+
+add_definitions(-D__WINESRC__)
+
+include_directories(${REACTOS_BINARY_DIR}/include/reactos/wine)
+
+file(GLOB_RECURSE SOURCE *.c)
+
+spec2def(advpack ${CMAKE_CURRENT_SOURCE_DIR}/advpack.spec
${CMAKE_CURRENT_BINARY_DIR}/advpack.def)
+
+add_library(advpack SHARED ${SOURCE})
+
+set_target_properties(advpack PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
+
+target_link_libraries(advpack
+ ${CMAKE_CURRENT_BINARY_DIR}/advpack.def
+ wine
+ mingw_common
+ -lole32
+ -lsetupapi
+ -lversion
+ ${REACTOS_SOURCE_DIR}/dll/win32/advapi32/libadvapi32.a)
+
+add_dependencies(advpack advpack_def psdk)
Propchange: branches/cmake-bringup/dll/win32/advpack/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/dll/win32/authz/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/authz/C…
==============================================================================
--- branches/cmake-bringup/dll/win32/authz/CMakeLists.txt (added)
+++ branches/cmake-bringup/dll/win32/authz/CMakeLists.txt [iso-8859-1] Sat Aug 21 23:52:17
2010
@@ -1,0 +1,24 @@
+
+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)
+
+file(GLOB_RECURSE SOURCE *.c)
+
+spec2def(authz ${CMAKE_CURRENT_SOURCE_DIR}/authz.spec
${CMAKE_CURRENT_BINARY_DIR}/authz.def)
+
+add_library(authz SHARED
+ ${SOURCE}
+ ${CMAKE_CURRENT_SOURCE_DIR}/authz.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/authz_precomp.h.gch)
+
+set_target_properties(authz PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
+
+target_link_libraries(authz
+ ${CMAKE_CURRENT_BINARY_DIR}/authz.def
+ ${REACTOS_SOURCE_DIR}/dll/win32/advapi32/libadvapi32.a
+ ${REACTOS_SOURCE_DIR}/dll/win32/kernel32/libkernel32.a
+ ${REACTOS_SOURCE_DIR}/dll/ntdll/libntdll.a)
+
+add_pch(authz ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
+add_dependencies(authz authz_def psdk)
Propchange: branches/cmake-bringup/dll/win32/authz/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native