blob: af2a2b7869276554a475be43743c4f06ed7f7c1c (
plain)
1
2
3
4
5
6
7
8
9
10
|
cmake_minimum_required (VERSION 2.6)
project(IncludeDirectories)
set(CMAKE_CXX_FLAGS "\"-I${CMAKE_SOURCE_DIR}/Flags\"")
include_directories(${CMAKE_SOURCE_DIR}/IncDir)
set_source_files_properties(main.cpp PROPERTIES COMPILE_FLAGS
"\"-I${CMAKE_SOURCE_DIR}/SrcProp\"")
add_executable(IncludeDirectories main.cpp)
set_target_properties(IncludeDirectories
PROPERTIES COMPILE_FLAGS "\"-I${CMAKE_SOURCE_DIR}/TarProp\"")
|