Author: akhaldi
Date: Wed Jul 28 10:35:37 2010
New Revision: 48326
URL:
http://svn.reactos.org/svn/reactos?rev=48326&view=rev
Log:
[CMAKE]
- Add ntdllsys to build.
Added:
branches/cmake-bringup/lib/ntdllsys/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/lib/CMakeLists.txt
Modified: branches/cmake-bringup/lib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/CMakeLists.tx…
==============================================================================
--- branches/cmake-bringup/lib/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/CMakeLists.txt [iso-8859-1] Wed Jul 28 10:35:37 2010
@@ -13,6 +13,7 @@
add_subdirectory(fslib)
add_subdirectory(lsalib)
add_subdirectory(nls)
+add_subdirectory(ntdllsys)
add_subdirectory(pseh)
add_subdirectory(recyclebin)
add_subdirectory(rossym)
Added: branches/cmake-bringup/lib/ntdllsys/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/ntdllsys/CMak…
==============================================================================
--- branches/cmake-bringup/lib/ntdllsys/CMakeLists.txt (added)
+++ branches/cmake-bringup/lib/ntdllsys/CMakeLists.txt [iso-8859-1] Wed Jul 28 10:35:37
2010
@@ -1,0 +1,13 @@
+
+get_directory_property(defines COMPILE_DEFINITIONS)
+
+foreach(arg ${defines})
+ set(result_defs "${result_defs} -D${arg}")
+endforeach(arg ${defines})
+
+set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -x assembler-with-cpp -o
<OBJECT> ${result_defs} -D__ASM__ <FLAGS> -c <SOURCE>")
+
+set_source_files_properties(${REACTOS_BINARY_DIR}/lib/ntdllsys/ntdll.S PROPERTIES
GENERATED TRUE)
+
+add_library(ntdllsys ${REACTOS_BINARY_DIR}/lib/ntdllsys/ntdll.S)
+add_dependencies(ntdllsys nci_resources)
Propchange: branches/cmake-bringup/lib/ntdllsys/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native