CGold
latest
1. Overview
2. First step
3. Tutorials
3.1. CMake stages
3.2. Out-of-source build
3.3. Workflow
3.4. Version and policies
3.5. Project declaration
3.6. Variables
3.7. CMake listfiles
3.8. Control structures
3.9. Executables
3.10. Tests
3.11. Libraries
3.12. Pseudo targets
3.13. Collecting sources
3.14. Usage requirements
3.15. Build types
3.16. configure_file
3.17. Install
3.17.1. Library
3.17.2. Header-only library
3.17.3. Library with dependencies
3.17.4. Optional dependencies
3.17.5. CMake modules
3.17.6. Export header
3.17.7. RPATH
3.17.8. Version
3.17.9. CMAKE_INSTALL_PREFIX
3.17.10. Layout
3.17.11. Samples
3.17.12. Managing dependencies
3.18. Toolchain
3.19. Generator expressions
3.20. Properties
3.21. Packing
3.22. Continuous integration
4. Platforms
5. Generators
6. Compilers
Contacts
Rejected
Glossary
CGold
3.
Tutorials
3.17.
Install
3.17.6.
Export header
Edit on GitHub
3.17.6.
Export header
ΒΆ
CMake documentation
GenerateExportHeader