摘要:
对Lib项目的统一输出路径以下时解决方案:set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Lib)set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Lib)set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Bin)以上三行命令要写在根(root)CmakeLists.txt的里面.Reference:http://stackoverflow.com/questions/3702115/creating-a-dire 阅读全文
摘要:
直接找这个了,原来VS也可以makefile,在windows上解析makefile的软件叫NMAKE.exe打算用命令Cmake -G“NMake Makefiles”生成VS环境下Nmake的makefile文件nmake的时候还出现过NMake fatel Error U1077的错误,解决方案写入-I 忽略警告http://msdn.microsoft.com/en-us/library/dt309377.aspx发现一个Nmake的makefile文件编写教程:http://daway320.blog.163.com/blog/static/387836992009810955264 阅读全文