INSTALL(TARGETS ${PROJECT_NAME}
RUNTIME DESTINATION ${CMAKE_INSTALL_PATH}/bin
LIBRARY DESTINATION ${CMAKE_INSTALL_PATH}/lib
ARCHIVE DESTINATION ${CMAKE_INSTALL_PATH}/lib
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_PATH}/include
PRIVATE_HEADER DESTINATION ${CMAKE_INSTALL_PATH}/include)
CMAKE_INSTALL_PATH仅仅是source目录的上级目录
vs2013打开工程编译后 只生成了可执行文件 其它一概不生成
4>------ Rebuild All started: Project: INSTALL, Configuration: Debug Win32 ------
4> -- Install configuration: "Debug"
4> -- Installing: D:/win32/Project/source/../install/bin/Project.exe
========== Rebuild All: 4 succeeded, 0 failed, 0 skipped ==========
--
FROM 58.128.3.*