llvm.org GIT mirror llvm / 61d8223
Fix Windows build failures caused by r349839 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349846 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 9 months ago
1 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
634634 set_property( GLOBAL APPEND PROPERTY LLVM_LIBS ${name} )
635635 endif()
636636
637 if( EXCLUDE_FROM_ALL )
637 if (ARG_MODULE AND NOT TARGET ${name})
638 # Add empty "phony" target
639 add_custom_target(${name})
640 elseif( EXCLUDE_FROM_ALL )
638641 set_target_properties( ${name} PROPERTIES EXCLUDE_FROM_ALL ON)
639642 elseif(ARG_BUILDTREE_ONLY)
640643 set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS_BUILDTREE_ONLY ${name})
673676 endif()
674677 set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS ${name})
675678 endif()
676 set_target_properties(${name} PROPERTIES FOLDER "Libraries")
677 if(NOT TARGET ${name})
678 # Add empty "phony" target
679 add_custom_target(${name})
680 endif()
681679 if (ARG_MODULE)
682680 set_target_properties(${name} PROPERTIES FOLDER "Loadable modules")
681 else()
682 set_target_properties(${name} PROPERTIES FOLDER "Libraries")
683683 endif()
684684 endmacro(add_llvm_library name)
685685