redguardtoo / cpputils-cmake

Easy real time C++ syntax check and intellisense if you use CMake
194 stars 28 forks source link

cmake 3.4 flag.make #66

Open laiall opened 8 years ago

laiall commented 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!

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

redguardtoo commented 8 years ago

Thanks for the head up.

redguardtoo commented 8 years ago

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.