Commit 48c1f948 authored by Claus Kleinwort's avatar Claus Kleinwort
Browse files

CMake for examples fixed

git-svn-id: http://svnsrv.desy.de/public/GeneralBrokenLines/trunk@144 281f6f2b-e318-4fd1-8bce-1a4ba7aab212
parent 06a4cdc6
......@@ -7,7 +7,7 @@ PROJECT(GBL)
# project version
SET( ${PROJECT_NAME}_VERSION_MAJOR 2 )
SET( ${PROJECT_NAME}_VERSION_MINOR 1 )
SET( ${PROJECT_NAME}_VERSION_PATCH 4 )
SET( ${PROJECT_NAME}_VERSION_PATCH 5 )
# make life easier and simply use the ilcsoft default settings
# load default ilcsoft settings (install prefix, build type, rpath, etc.)
......
ADD_CUSTOM_TARGET( examples )
INCLUDE_DIRECTORIES(include ${ROOT_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(include ${ROOT_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIR})
MACRO( ADD_PATHFINDER_EXAMPLE _name )
ADD_EXECUTABLE( ${_name} ${ARGN} )
......@@ -7,4 +7,4 @@ MACRO( ADD_PATHFINDER_EXAMPLE _name )
INSTALL( TARGETS ${_name} DESTINATION bin )
ENDMACRO()
ADD_PATHFINDER_EXAMPLE( GBLpp GBLpp.cpp example1.cpp )
ADD_PATHFINDER_EXAMPLE( GBLpp GBLpp.cpp exampleUtil.cpp example1.cpp )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment