SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BUILD_OUT_DIR}) set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BUILD_OUT_DIR}) set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG ${PROJECT_BUILD_OUT_DIR}) set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE ${PROJECT_BUILD_OUT_DIR}) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BUILD_OUT_DIR}) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${PROJECT_BUILD_OUT_DIR}) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE ${PROJECT_BUILD_OUT_DIR}) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BUILD_OUT_DIR}) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${PROJECT_BUILD_OUT_DIR}) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${PROJECT_BUILD_OUT_DIR})
正文
CMake设置库及可执行文件输出目录
此篇文章发布距今已超过384天,您需要注意文章的内容或图片是否可用!
-- 展开阅读全文 --
还没有评论,来说两句吧...