-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
swift_gan
committed
Oct 31, 2024
1 parent
970b548
commit 4b95372
Showing
102 changed files
with
8,445 additions
and
1,228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
add_subdirectory(slang) | ||
add_subdirectory(slang) | ||
add_subdirectory(clang) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
antlr4_gen(${CMAKE_CURRENT_SOURCE_DIR}/antlr ${CMAKE_CURRENT_BINARY_DIR}/antlr) | ||
file(GLOB G4_DEFS ${CMAKE_CURRENT_BINARY_DIR}/antlr/*.h) | ||
file(GLOB G4_SRCS ${CMAKE_CURRENT_BINARY_DIR}/antlr/*.cpp) | ||
|
||
add_library(clang_compiler STATIC | ||
${G4_SRCS} | ||
${G4_DEFS} | ||
clang.cpp | ||
clang.h) | ||
|
||
target_link_libraries(clang_compiler PUBLIC swift::base antlr4_static) | ||
target_include_directories(clang_compiler PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/antlr) |
Oops, something went wrong.