cpputils-cmake icon indicating copy to clipboard operation
cpputils-cmake copied to clipboard

cmake 3.4 flag.make

Open laiall opened this issue 9 years ago • 2 comments

在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

laiall avatar Jan 24 '16 13:01 laiall

Thanks for the head up.

redguardtoo avatar Jan 24 '16 22:01 redguardtoo

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.

redguardtoo avatar Jan 28 '16 12:01 redguardtoo