1
0
mirror of synced 2024-12-22 12:40:00 +01:00

Fixing variable name

This commit is contained in:
Andre Buschermöhle 2022-06-02 18:15:20 +00:00 committed by Henry Schreiner
parent 1f651ea62b
commit c4562cb726

View File

@ -15,7 +15,7 @@ set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
These are the most common variables you'll need to make a binary package. A binary package uses the install mechanism of CMake, so anything that is installed will be present. These are the most common variables you'll need to make a binary package. A binary package uses the install mechanism of CMake, so anything that is installed will be present.
You can also make a source package. You should set `CMAKE_SOURCE_IGNORE_FILES` to regular expressions that ensure you don't pick up any extra files (like the build directory or git details); otherwise `make package_source` will bundle up literally everything in the source directory. You can also set the source generator to make your favorite types of files for source packages: You can also make a source package. You should set `CPACK_SOURCE_IGNORE_FILES` to regular expressions that ensure you don't pick up any extra files (like the build directory or git details); otherwise `make package_source` will bundle up literally everything in the source directory. You can also set the source generator to make your favorite types of files for source packages:
```cmake ```cmake
set(CPACK_SOURCE_GENERATOR "TGZ;ZIP") set(CPACK_SOURCE_GENERATOR "TGZ;ZIP")