cabre94 / cppLibraryTemplate

MIT License
0 stars 0 forks source link

cppProjectTemplate

ejemplo base

https://matgomes.com/integrate-google-test-into-cmake/

estructura de directorios

https://stackoverflow.com/questions/1398445/directory-structure-for-a-c-library

https://stackoverflow.com/questions/63916507/c-cmake-project-structure-for-lib-and-executable

https://stackoverflow.com/questions/58533261/is-this-a-good-directory-structure-to-maintain-a-large-c-project

https://stackoverflow.com/questions/2360734/whats-a-good-directory-structure-for-larger-c-projects-using-makefile

ctest

https://cmake.org/cmake/help/book/mastering-cmake/chapter/Testing%20With%20CMake%20and%20CTest.html

TODO

https://matgomes.com/add-library-cmake-create-libraries/#google_vignette

text

text

cd build
cmake ..
make -j8
ctest

https://stackoverflow.com/questions/2649334/difference-between-static-and-shared-libraries

Library

https://decovar.dev/blog/2021/03/08/cmake-cpp-library/