cmake_minimum_required (VERSION 2.6) project (mmc2csv) include_directories ("${PROJECT_SOURCE_DIR}/MonteCarlo") include_directories("/fhgfs/groups/app/mc_workshop/software/mars.2012.06.21/mbase") include_directories("/fhgfs/groups/app/mc_workshop/software/mars.2012.06.21/mpedestal") include_directories("/fhgfs/groups/app/mc_workshop/software/mars.2012.06.21/mgui") include_directories("/fhgfs/groups/app/mc_workshop/software/mars.2012.06.21/mmc") include_directories("/fhgfs/groups/app/mc_workshop/software/mars.2012.06.21/mgeom") include_directories("/fhgfs/groups/app/mc_workshop/software/mars.2012.06.21/mraw") include_directories("/fhgfs/groups/app/mc_workshop/software/mars.2012.06.21/mcorsika") include_directories("/fhgfs/groups/app/mc_workshop/software/mars.2012.06.21/mcalib") add_subdirectory (MonteCarlo) # add the executable add_executable (mmc2csv mmc2csv.C) target_link_libraries (mmc2csv MonteCarlo)