Displaying 3 results from an estimated 3 matches for "ircompiler".
2020 May 16
2
Building A Project Against LLVM
...l being passed in:
>
> [ 8%] Linking CXX executable ../bin/CBreakCompiler
> /usr/bin/c++ CMakeFiles/CBreakCompiler.dir/src/main.cpp.o
> CMakeFiles/CBreakCompiler.dir/src/Parser.cpp.o
> CMakeFiles/CBreakCompiler.dir/src/SourceTokenizer.cpp.o
> CMakeFiles/CBreakCompiler.dir/src/IRCompiler.cpp.o
> CMakeFiles/CBreakCompiler.dir/src/CompiledOutput.cpp.o
> CMakeFiles/CBreakCompiler.dir/src/JIT.cpp.o -o ../bin/CBreakCompiler
>
> If I change this:
> llvm_map_components_to_libnames(llvm_libs all)
> to:
> llvm_map_components_to_libnames(llvm_libs core)
>
> Then I...
2020 May 16
2
Building A Project Against LLVM
...)
> message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}")
>
> include_directories(${LLVM_INCLUDE_DIRS})
> add_definitions(${LLVM_DEFINITIONS})
>
> add_executable(CBreakCompiler
> src/main.cpp
> src/Parser.cpp
> src/SourceTokenizer.cpp
> src/IRCompiler.cpp
> src/CompiledOutput.cpp)
>
> llvm_map_components_to_libnames(llvm_libs all)
> target_link_libraries(CBreakCompiler ${llvm_libs})
>
>
> And a snippet from the cmake output corresponding to those message lines:
>
> -- Found LLVM 10.0.0
> -- Using LLVMConfig.cmak...
2020 May 15
2
Building A Project Against LLVM
...S "Found LLVM ${LLVM_PACKAGE_VERSION}")
message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}")
include_directories(${LLVM_INCLUDE_DIRS})
add_definitions(${LLVM_DEFINITIONS})
add_executable(CBreakCompiler
src/main.cpp
src/Parser.cpp
src/SourceTokenizer.cpp
src/IRCompiler.cpp
src/CompiledOutput.cpp)
llvm_map_components_to_libnames(llvm_libs all)
target_link_libraries(CBreakCompiler ${llvm_libs})
And a snippet from the cmake output corresponding to those message lines:
-- Found LLVM 10.0.0
-- Using LLVMConfig.cmake in: /usr/local/lib/cmake/llvm
There are do...