From 8755bbe309d2f00c7bc73a6a6304ed8860a9a94d Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Tue, 20 Jan 2015 17:46:41 +0100 Subject: Implemented automatic generation of default search paths --- CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b30e3f4..2d19b18 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,6 +80,18 @@ IF(TEST) SET(GTEST_LIBRARIES gtest gtest_main) ENDIF() +################################################################################ +# Commands for assembling and including the configuration file # +################################################################################ + +CONFIGURE_FILE( + "${PROJECT_SOURCE_DIR}/config.h.in" + "${PROJECT_BINARY_DIR}/config.h" +) + +# Adapt the include path for finding the configuration file +INCLUDE_DIRECTORIES("${PROJECT_BINARY_DIR}") + ################################################################################ # Commands for building Ousía # ################################################################################ -- cgit v1.2.3