Open laiall opened 8 years ago
在cmake 3.4中,flag.make 中除了 CXX_FLAGS 和 CXX_DEFINES, 还会有一个 CXX_INCLUDES 需要包含到 include path 中
举例来说 cmake 2.8 产生的 flag.make 如下 # CMAKE generated file: DO NOT EDIT!
CXX_FLAGS = -g -I/home/ruizhi/workspace/Odinson/include
CXX_DEFINES =
cmake 3.4 的 flag.make 为
CXX_FLAGS =
CXX_INCLUDES = -I/Users/ruizhi/workspace/Odinson/include
Thanks for the head up.
switch to the working branch, download all the code, then run pkg.sh, M-x package-install-file to install cpputils-0.5.3.tar. Please test it.
pkg.sh
M-x package-install-file
在cmake 3.4中,flag.make 中除了 CXX_FLAGS 和 CXX_DEFINES, 还会有一个 CXX_INCLUDES 需要包含到 include path 中
举例来说 cmake 2.8 产生的 flag.make 如下 # CMAKE generated file: DO NOT EDIT!
Generated by "Unix Makefiles" Generator, CMake Version 2.8
compile CXX with /usr/bin/c++
CXX_FLAGS = -g -I/home/ruizhi/workspace/Odinson/include
CXX_DEFINES =
cmake 3.4 的 flag.make 为
CMAKE generated file: DO NOT EDIT!
Generated by "Unix Makefiles" Generator, CMake Version 3.4
compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
CXX_FLAGS =
CXX_DEFINES =
CXX_INCLUDES = -I/Users/ruizhi/workspace/Odinson/include