From 6b490c6b70a37628b0b2ec8b4521fa710bc5029c Mon Sep 17 00:00:00 2001 From: rulrich <ralf.m.ulrich@kit.edu> Date: Sun, 12 Jul 2020 13:46:56 +0200 Subject: [PATCH] docu --- CMakeLists.txt | 9 +++++---- README.md | 4 ++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 912d4fb..b8c7016 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,10 @@ cmake_minimum_required (VERSION 3.10) +cmake_project (corsika-data 1.0.0) -# this is not intended to build standalone -# please include it in our project to access corsika-data by adding -# add_directory(corsika-data) +# this may be included in our project to access corsika-data by adding +# add_subdirectory (corsika-data) # to your CMakeLists.txt +# it creates the cmake taget "CorsikaData" +# and it builds the libCorsikaData.a archive. add_subdirectory (readLib) - diff --git a/README.md b/README.md index 87ef783..ed2b7e6 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,10 @@ New place to keep all the CORSIKA7, CORSIKA8, CONEX, CRMC etc. large data files. +The project contains cmake build files. It can be included in our project to access corsika-data by adding +`add_subdirectory (corsika-data)` to your CMakeLists.txt. +This creates the cmake taget "CorsikaData" and it builds the libCorsikaData.a archive. + Update, July 2020, RU --------------------- -- GitLab