aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorclick <none@none>2010-08-28 21:42:07 +0200
committerclick <none@none>2010-08-28 21:42:07 +0200
commit3fa20f4cf340e9f28e450ba388b16f7849f07d11 (patch)
tree17a876afb4126b4f0c3cb08fbacf0790bf064ac8 /CMakeLists.txt
parenta6d681b41cd22b64249d1d61e86cbf9260027dfe (diff)
Buildsystem: Make options load BEFORE platformchecks, so they are preloaded correctly
+ add some more output to make it easier to find possible issues with the new layout --HG-- branch : trunk
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt19
1 files changed, 10 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 09623cd0e7d..5fece05a377 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,6 +31,16 @@ endif()
include(CheckCXXSourceRuns)
include(CheckIncludeFiles)
+
+# turn off PCH totally if enabled (hidden setting, mainly for devs)
+if( NOPCH )
+ set(USE_COREPCH 0)
+ set(USE_SCRIPTPCH 0)
+endif()
+
+# set default buildoptions and print them
+include(cmake/options.cmake)
+
include(CheckPlatform)
# basic packagesearching and setup (further support will be needed, this is a preliminary release!)
@@ -51,15 +61,6 @@ execute_process(
OUTPUT_VARIABLE HG_REVISION
)
-# turn off PCH totally if enabled (hidden setting, mainly for devs)
-if( NOPCH )
- set(USE_COREPCH 0)
- set(USE_SCRIPTPCH 0)
-endif()
-
-# set default buildoptions and print them
-include(cmake/options.cmake)
-
# add and generate revision.h
add_subdirectory(src/genrevision)