summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPI/cmakeFiles-v1.cmake
blob: b98a283093d62eecc02d556c4664d83d0ee15265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include("${CMAKE_CURRENT_LIST_DIR}/dir/dirtest.cmake")
include(CMakeParseArguments)

file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/generated.cmake" "")
include("${CMAKE_CURRENT_BINARY_DIR}/generated.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/../FileAPIDummyFile.cmake")

file(GLOB var
  CONFIGURE_DEPENDS
  "${CMAKE_CURRENT_SOURCE_DIR}/dir/*")

file(GLOB_RECURSE var
  FOLLOW_SYMLINKS
  RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}"
  CONFIGURE_DEPENDS
  "${CMAKE_CURRENT_SOURCE_DIR}/dir/*.cmake")

add_subdirectory(dir)