summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2012-12-14 12:00:49 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2012-12-14 12:00:49 (GMT)
commitd0c948844f398f291c1d014ff1a2791414b74d9c (patch)
treec397827fd1dff67cb7bba0ac422a26efe6ace6da /CMakeLists.txt
parentdd767425b489541585c526ebfb629538269afd54 (diff)
Copy example files to build directory and set constants to find them
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ba7b366..c459d69 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 2.8)
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall")
@@ -8,6 +8,8 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
add_subdirectory(src)
+file(COPY example_files DESTINATION .)
+
#-- Add an Option to toggle the generation of the API documentation
option(BUILD_DOCUMENTATION "Use Doxygen to create the HTML based API documentation" OFF)
if(BUILD_DOCUMENTATION)
contact: Jan Huwald // Impressum