If not specified, it defaults to the project name. CPACK_PACKAGE_VENDOR The name of the package vendor. (e.g., “Kitware”). The default is “Humanity”. CPACK_PACKAGE_DIRECTORY The directory in which CPack is doing its packaging. If it is not set then this will default (internally)...
This option is intended mainly for the developers of cpack itself and is not normally needed by project developers. --trace Put the underlying cmake scripts in trace mode. --trace-expand Put the underlying cmake scripts in expanded trace mode. -P <packageName> Override/define the value of...
cmake_minimum_required(VERSION3.20)project(demopkVERSION1.0.0LANGUAGESCXX)set(CMAKE_CXX_STANDARD17)set(CMAKE_CXX_STANDARD_REQUIREDON)set(${PROJECT_NAME}_VERSION_MAJOR1)set(${PROJECT_NAME}_VERSION_MINOR0)#这个路径最好设置一下,随便哪个路径都行,否则默认是C:\Program Files (x86),这个要权限,我没...
By use case CI/CD & Automation DevOps DevSecOps Resources Topics AI DevOps Security Software Development View all Explore Learning Pathways White papers, Ebooks, Webinars Customer Stories Partners Open Source GitHub Sponsors Fund open source developers The ReadME Project GitHub comm...
In most cases, this will be only a single project. The project objects have the following fields: projectName The project name passed to CPACK_INSTALL_CMAKE_PROJECTS. component The name of the component or component set which com- prises the project. directory The build directory of the C...