Mastering CMake: cpack example typo? "Adding Custom CPack Options"
In the docs for Adding Custom CPack Options, the example code shows this:
configure_file ("${PROJECT_SOURCE_DIR}/MyCPackOptions.cmake.in"
"${PROJECT_BINARY_DIR}/MyCPackOptions.cmake"
@ONLY)
set (CPACK_PROJECT_CONFIG_FILE
"${PROJECT_BINARY_DIR}/CMakeCPackOptions.cmake")
"CMakeCPackOptions.cmake" doesn't show up anywhere else in that documentation page. I'm wondering if it's a typo of "MyCPackOptions.cmake"? I tried googling "CMakeCPackOptions.cmake" to see if it's a special file name, but the first result was for CMake's own packaging options. The second result is CMake 3.3 docs for CPack referencing CMake's own packaging options.
Edited by Brad King