[CMAKE]: Add make lists for the core host tools/libraries, and add a command to generate the build.h header. There's little fixes needed here and there, but this should be a good template for people to see how easy CMake is. This will build all the wine tools/libraries, nci, gendib, rsym, etc...

svn path=/branches/cmake-bringup/; revision=48244
This commit is contained in:
Sir Richard 2010-07-25 05:53:51 +00:00
parent a9581208d6
commit 50c679fa37
3 changed files with 36 additions and 0 deletions

32
CMakeLists.txt Normal file
View file

@ -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()

2
lib/CMakeLists.txt Normal file
View file

@ -0,0 +1,2 @@
add_subdirectory(sdk)

2
lib/sdk/CMakeLists.txt Normal file
View file

@ -0,0 +1,2 @@
add_subdirectory(crt)