libaac-next/ADAPT.md
wrapper dcb542c9db
Some checks failed
C++ CI / build (push) Has been cancelled
C++ CI / test (push) Has been cancelled
C++ CI / check (push) Has been cancelled
docs
2025-08-11 15:35:58 +07:00

98 lines
3.2 KiB
Markdown

To adapt this template to your own project, follow these steps:
In the root directory adapt/change/do the following:
--------------------------------------------------------------------
* [x] Edit AUTHORS
* [x] Edit LICENSE
* [ ] Edit README.md
* [x] Rename ./template-config.cmake -> ./\<project>-config.cmake
CMakeLists.txt:
* [x] Set META_PROJECT_*
* [x] Set META_VERSION_*
* [x] Set META_AUTHOR_*
* [x] Set META_CMAKE_INIT_SHA (to the commit hash of the applied cmake-init template, e.g., to 83d7cbc29a6fcb74a98498e5b0fcebd953d9d5cc)
* [x] Adjust INSTALL_* to the desired install locations for all systems (defaults should be fine for a start)
In subdirectory "./deploy/" do:
--------------------------------------------------------------------
deploy/CMakeLists.txt:
* [x] Rename deploy/packages/pack-template.cmake -> pack-\<project>.cmake
deploy/packages/pack-\<project>.cmake:
* [x] Adjust OPTION_PACK_GENERATOR to your liking for all systems
* [x] Adjust package options, e.g., CPACK_DEBIAN_PACKAGE_DEPENDS, CPACK_DEBIAN_PACKAGE_SECTION, CPACK_DEBIAN_PACKAGE_PRIORITY, CPACK_RPM_PACKAGE_LICENSE, CPACK_RPM_PACKAGE_GROUP, ...
In subdirectory "./source/" do:
--------------------------------------------------------------------
* [x] Rename template-version.h -> \<project>-version.h
In subdirectory "./source/baselib/source" do:
--------------------------------------------------------------------
source/baselib/source/baselib.cpp:
* [x] Substitute template/template-version.h -> \<project>/\<project>-version.h
* [x] Substitute TEMPLATE_VERSION -> \<PROJECT>_VERSION
* [x] Rename template-version.h -> \<project>-version.h
In subdirectory "./source/examples/fibcmd" do:
--------------------------------------------------------------------
source/fibcmd/main.cpp:
* [x] Substitute template-version.h -> \<project>-version.h
* [x] Substitute TEMPLATE_VERSION -> \<PROJECT>_VERSION
In subdirectory "./source/codegeneration/" do:
--------------------------------------------------------------------
* [ ] Remove/replace *_features.h for project-specific compiler feature detection headers (generate with current CMake and place here old cmake compatibility)
In subdirectory "./docs/api-docs/" do:
--------------------------------------------------------------------
docs/api-docs/doxyfile.in:
* [ ] Adjust INPUT tag (list of doxygen annotated sources)
docs/api-docs/CMakeLists.txt
* [ ] Adjust DEPENDS parameter to include all targets of project
In subdirectory "./docs/manual/" do:
--------------------------------------------------------------------
docs/manual/cmake-init.tex:
* [ ] Rename to match own project name
docs/manual/CMakeLists.txt
* [ ] Adjust source and pdf file name
In subdirectory "./source/tests/" do:
--------------------------------------------------------------------
source/tests/CMakeLists.txt:
* [ ] Set META_PROJECT_NAME
General stuff left to do:
--------------------------------------------------------------------
* [ ] Rename and adjust targets in source/
* [ ] Add new targets to source/CMakeLists.txt
* [ ] Add new targets to ./{project}-config.cmake
* [ ] Add new targets to the INPUT tag in docs/api-docs/doxyfile.in
* [ ] Remove data/DATA_FOLDER.txt
* [ ] Populate data/
* [ ] Remove ADAPT.md