-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
在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
Metadata
Metadata
Assignees
Labels
No labels