This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
5e9441cd39
CMake
/
Tests
/
RunCMake
/
include_directories
/
CMakeLists.txt
4 lines
98 B
CMake
Raw
Normal View
History
Unescape
Escape
Export: Disallow exported interface includes in src/build tree (#14592). Allow directories in the source tree or build tree only if the install tree is a subdirectory of the source tree or build tree, as appropriate. Re-use the test files in the RunCMake.include_directories test to run in multiple scenarios. Bump the required CMake version in the test to 3.0 to ensure that the new policy warnings are emitted correctly.
2014-03-31 19:37:02 +04:00
cmake_minimum_required
(
VERSION
3.0
)
Export: Test existing behavior of exporting includes with genexes. Test that no warning or error diagnostic is issued for 'good code'.
2013-11-25 18:54:54 +04:00
project
(
${
RunCMake_TEST
}
CXX
)
GenEx: Fix reporting about not-found include directories and libraries. This fixes a regression introduced in commit 290e92ad (Move GetIncludeDirectories to cmGeneratorTarget, 2012-09-16) which loops over cmGeneratorTargets before they get created, so the container is empty.
2012-10-15 12:27:42 +04:00
include
(
${
RunCMake_TEST
}
.cmake
)