Skip to content

Commit 32a6269

Browse files
authored
Debug CMakeLists.txt
1 parent 0c5362d commit 32a6269

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/Interpreter/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ else()
6868

6969
if(NOT WIN32)
7070
list(APPEND link_libs dl)
71-
71+
endif()
72+
7273
# Get rid of libLLVM-X.so which is appended to the list of static libraries.
7374
if (LLVM_LINK_LLVM_DYLIB)
7475
set(new_libs ${link_libs})
@@ -81,6 +82,8 @@ else()
8182
continue()
8283
endif()
8384
foreach(transitive_lib ${transitive_libs})
85+
message(STATUS "transitive libs ${transitive_libs}")
86+
message(STATUS "transitive lib ${transitive_lib}")
8487
get_target_property(lib_type ${transitive_lib} TYPE)
8588
if("${lib_type}" STREQUAL "STATIC_LIBRARY")
8689
list(APPEND static_transitive_libs ${transitive_lib})
@@ -115,10 +118,7 @@ else()
115118
clangStaticAnalyzerCore
116119
)
117120
endif(LLVM_LINK_LLVM_DYLIB)
118-
endif()
119-
message(STATUS "link_libs: ${link_libs}")
120-
message(STATUS "DLM ${DLM}")
121-
message(STATUS "llvm_targets_to_build: LLVM ${LLVM_TARGETS_TO_BUILD}")
121+
122122
add_llvm_library(clangCppInterOp
123123
DISABLE_LLVM_LINK_LLVM_DYLIB
124124
CppInterOp.cpp

0 commit comments

Comments
 (0)