cmake
mogiccxj
这个作者很懒,什么都没留下…
展开
-
CMake Practice 第四部分cmake ..报警告
《CMake Practice》的第三章,在t2中创建工程后,运行cmake …之后出现如下警告:“CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 3.10) should be added at the top of the file. The vers原创 2020-09-20 16:56:04 · 5645 阅读 · 2 评论 -
CMake Practice 第三部分的示例代码的错误
《CMake Practice》的第三章,初试cmake - cmake的helloworld 中的PROJECT (HELLO)SET(SRC_LIST \color{red}{SRC_LIST} main.c)MESSAGE(status "This is BINARY dir " ${HELLO_BINARY_DIR})MESSAGE(status "This is SOURCE dir " ${HELLO_SOURCE_DIR})ADD_EXECUTABLE(hello SRC_原创 2020-09-20 15:52:02 · 393 阅读 · 0 评论