github.com/igggame/nebulas-go@v2.1.0+incompatible/nbre/test/link_example/CMakeLists.txt (about) 1 2 add_definitions(-fno-rtti) 3 4 add_executable(link_example test_llvm_linker.cpp OrcLazyJIT.cpp) 5 add_library(test_bar SHARED bar.cpp) 6 7 llvm_map_components_to_libnames(llvm_libs 8 core 9 executionengine 10 interpreter 11 mc mcjit 12 support 13 nativecodegen 14 irreader 15 linker 16 orcjit 17 runtimedyld 18 target 19 support 20 option) 21 target_link_libraries(link_example ${llvm_libs}) 22 23 enable_clang_tidy(nbre_fs)