From f19057232ca8dbc2c1d1cc725a739407bbc07cdd Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 7 Aug 2019 17:13:17 -0400 Subject: [PATCH] Adding minor updates to structure based on recent new example --- chapters/basics/structure.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/chapters/basics/structure.md b/chapters/basics/structure.md index 7a4bfa1..f4b5f8e 100644 --- a/chapters/basics/structure.md +++ b/chapters/basics/structure.md @@ -16,6 +16,7 @@ First, this is what your files should look like when you start if your project i - CMakeLists.txt - cmake - FindSomeLib.cmake + - something_else.cmake - include - project - lib.hpp @@ -26,9 +27,10 @@ First, this is what your files should look like when you start if your project i - CMakeLists.txt - app.cpp - tests + - CMakeLists.txt - testlib.cpp - docs - - Doxyfile.in + - CMakeLists.txt - extern - googletest - scripts @@ -58,3 +60,6 @@ if(EXISTS "${LOC_PATH}") message(FATAL_ERROR "You cannot build in a source directory (or any directory with a CMakeLists.txt file). Please make a build subdirectory. Feel free to remove CMakeCache.txt and CMakeFiles.") endif() ``` + +See the [extended code example here](https://gitlab.com/CLIUtils/modern-cmake/tree/master/examples/extended-project). +