llvm.org GIT mirror llvm / 67f56cc
[CMake] Add variables for tracking which runtimes are included This allows sub-projects to have conditionals based on the presence of other projects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279172 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Bieneman 4 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
4747 # The subdirectories need to treat this as standalone builds
4848 set(${canon_name}_STANDALONE_BUILD On)
4949
50 # Setting a variable to let sub-projects detect which other projects
51 # will be included under here.
52 set(HAVE_${canon_name} On)
53
5054 add_subdirectory(${projName})
5155 endforeach()
5256