llvm.org GIT mirror llvm / 677ee43
[CMake] Set HAVE_${runtime} before including any subdirectories This should allow us to avoid most order dependence in the runtime library configurations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290834 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Bieneman 3 years ago
1 changed file(s) with 7 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7272 # Setting a variable to let sub-projects detect which other projects
7373 # will be included under here.
7474 set(HAVE_${canon_name} On)
75
75 endforeach()
76
77 # We do this in two loops so that HAVE_* is set for each runtime before the
78 # other runtimes are added.
79 foreach(entry ${runtimes})
80 get_filename_component(projName ${entry} NAME)
81
7682 # Between each sub-project we want to cache and clear the LIT properties
7783 set_property(GLOBAL PROPERTY LLVM_LIT_TESTSUITES)
7884 set_property(GLOBAL PROPERTY LLVM_LIT_PARAMS)