Files
CMake/Tests/RunCMake/BuildDepends/MakeCustomIncludes.step2.cmake
Brad King 434f5cef65 Tests: Add case for IMPLICIT_DEPENDS in custom target
Use the `IMPLICIT_DEPENDS` option of `add_custom_command` and place the
command in a custom target.  Verify that `INCLUDE_DIRECTORIES` of that
custom target are honored.  This is a case that was not really designed
to work but happens to work, is useful, and makes sense.  Add a test
case make sure it continues to work.

Issue: #16830
2017-04-26 08:46:11 -04:00

4 lines
115 B
CMake

file(WRITE "${RunCMake_TEST_BINARY_DIR}/MakeCustomIncludes.h" [[
inline int MakeCustomIncludes() { return 2; }
]])