Adding minor updates to structure based on recent new example
This commit is contained in:
parent
d68014e579
commit
f19057232c
@ -16,6 +16,7 @@ First, this is what your files should look like when you start if your project i
|
|||||||
- CMakeLists.txt
|
- CMakeLists.txt
|
||||||
- cmake
|
- cmake
|
||||||
- FindSomeLib.cmake
|
- FindSomeLib.cmake
|
||||||
|
- something_else.cmake
|
||||||
- include
|
- include
|
||||||
- project
|
- project
|
||||||
- lib.hpp
|
- lib.hpp
|
||||||
@ -26,9 +27,10 @@ First, this is what your files should look like when you start if your project i
|
|||||||
- CMakeLists.txt
|
- CMakeLists.txt
|
||||||
- app.cpp
|
- app.cpp
|
||||||
- tests
|
- tests
|
||||||
|
- CMakeLists.txt
|
||||||
- testlib.cpp
|
- testlib.cpp
|
||||||
- docs
|
- docs
|
||||||
- Doxyfile.in
|
- CMakeLists.txt
|
||||||
- extern
|
- extern
|
||||||
- googletest
|
- googletest
|
||||||
- scripts
|
- 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.")
|
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()
|
endif()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
See the [extended code example here](https://gitlab.com/CLIUtils/modern-cmake/tree/master/examples/extended-project).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user