[CMAKE]: Add make lists for the core host tools/libraries, and add a command to gener...
authorSir Richard <sir_richard@svn.reactos.org>
Sun, 25 Jul 2010 05:53:51 +0000 (05:53 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Sun, 25 Jul 2010 05:53:51 +0000 (05:53 +0000)
svn path=/branches/cmake-bringup/; revision=48244

CMakeLists.txt [new file with mode: 0644]
lib/CMakeLists.txt [new file with mode: 0644]
lib/sdk/CMakeLists.txt [new file with mode: 0644]

diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644 (file)
index 0000000..33e2208
--- /dev/null
@@ -0,0 +1,32 @@
+cmake_minimum_required(VERSION 2.8)
+project(REACTOS)
+
+include_directories(${REACTOS_SOURCE_DIR}/tools/unicode)
+
+include_directories(./include)
+
+include_directories(./include/reactos)
+include_directories(./include/reactos/wine)
+
+add_definitions(-DTARGET_i386)
+add_definitions(-D__REACTOS__)
+
+#-fshort-wchar
+
+if(NOT CMAKE_CROSSCOMPILING)
+
+add_subdirectory(tools)
+
+else()
+
+include_directories(./include)
+include_directories(./include/crt/mingw32)
+include_directories(./include/crt)
+include_directories(./include/reactos/libs)
+include_directories(./include/ndk)
+include_directories(./include/psdk)
+include_directories(./include/ddk)
+
+add_subdirectory(lib)
+
+endif()
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
new file mode 100644 (file)
index 0000000..a97704a
--- /dev/null
@@ -0,0 +1,2 @@
+
+add_subdirectory(sdk)
diff --git a/lib/sdk/CMakeLists.txt b/lib/sdk/CMakeLists.txt
new file mode 100644 (file)
index 0000000..60d3b6b
--- /dev/null
@@ -0,0 +1,2 @@
+
+add_subdirectory(crt)