Skip to content

Commit

Permalink
refactor(core): split
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziqi-Yang committed Aug 3, 2024
1 parent f91e050 commit 82bfe6b
Show file tree
Hide file tree
Showing 19 changed files with 5,172 additions and 5,029 deletions.
12 changes: 12 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}")

include_directories(${CMAKE_SOURCE_DIR}/src/llvm)
include_directories(${CMAKE_SOURCE_DIR}/src/llvm/_types)
include_directories(${CMAKE_SOURCE_DIR}/src/llvm/Core)
include_directories(${LLVM_INCLUDE_DIRS})

separate_arguments(LLVM_DEFINITIONS_LIST NATIVE_COMMAND ${LLVM_DEFINITIONS})
add_definitions(${LLVM_DEFINITIONS_LIST})

Expand All @@ -61,7 +63,17 @@ nanobind_add_module(

# Source code goes here
src/llvmpym_ext.cpp

src/llvm/Core.cpp
src/llvm/Core/enum.cpp
src/llvm/Core/utils.cpp
src/llvm/Core/globalFunc.cpp
src/llvm/Core/type.cpp
src/llvm/Core/value.cpp
src/llvm/Core/iterator.cpp
src/llvm/Core/miscClasses.cpp


src/llvm/ErrorHandling.cpp
src/llvm/Utils.cpp

Expand Down
Loading

0 comments on commit 82bfe6b

Please sign in to comment.