[CMAKE]: Use some nice options which will make makefiles simpler regarding includes.

svn path=/branches/cmake-bringup/; revision=48436
This commit is contained in:
Sir Richard 2010-08-03 21:12:51 +00:00
parent 12ccd98393
commit 3b6a29974b

View file

@ -1,6 +1,9 @@
cmake_minimum_required(VERSION 2.8) cmake_minimum_required(VERSION 2.8)
project(REACTOS) project(REACTOS)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
add_definitions(-D__REACTOS__) add_definitions(-D__REACTOS__)
if(NOT CMAKE_CROSSCOMPILING) if(NOT CMAKE_CROSSCOMPILING)