├── .clang-format ├── .gitignore ├── CMakeLists.txt ├── CMakePresets.json ├── LICENSE ├── README.md ├── cmake ├── mylib-config.cmake.in ├── silent_copy.cmake └── utils.cmake ├── examples ├── CMakeLists.txt └── add │ ├── CMakeLists.txt │ └── main.cpp ├── include └── mylib │ ├── export.h │ └── mylib.h ├── src └── mylib.cpp └── tests ├── CMakeLists.txt └── add_test.cpp /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/.gitignore -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /CMakePresets.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/CMakePresets.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/README.md -------------------------------------------------------------------------------- /cmake/mylib-config.cmake.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/cmake/mylib-config.cmake.in -------------------------------------------------------------------------------- /cmake/silent_copy.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/cmake/silent_copy.cmake -------------------------------------------------------------------------------- /cmake/utils.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/cmake/utils.cmake -------------------------------------------------------------------------------- /examples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(add) 2 | -------------------------------------------------------------------------------- /examples/add/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/examples/add/CMakeLists.txt -------------------------------------------------------------------------------- /examples/add/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/examples/add/main.cpp -------------------------------------------------------------------------------- /include/mylib/export.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/include/mylib/export.h -------------------------------------------------------------------------------- /include/mylib/mylib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/include/mylib/mylib.h -------------------------------------------------------------------------------- /src/mylib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/src/mylib.cpp -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/tests/CMakeLists.txt -------------------------------------------------------------------------------- /tests/add_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pananton/cpp-lib-template/HEAD/tests/add_test.cpp --------------------------------------------------------------------------------