-
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
Showing
20 changed files
with
51 additions
and
51 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
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,7 +1,7 @@ | ||
|
||
include_directories(${CMAKE_CURRENT_LIST_DIR}) | ||
|
||
file(GLOB DIRS LIST_DIRECTORIES true "polyglat*") | ||
file(GLOB DIRS LIST_DIRECTORIES true "mllic*") | ||
foreach (DIR IN LISTS DIRS) | ||
add_subdirectory(${DIR}) | ||
endforeach () |
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,9 @@ | ||
project(mllic-c LANGUAGES CXX) | ||
|
||
file(GLOB_RECURSE SOURCES src/*.*) | ||
|
||
add_llvm_library(mllic-c MODULE ${SOURCES} PLUGIN_TOOL clang) | ||
target_link_libraries(mllic-c PUBLIC mllic-shared) | ||
target_precompile_headers(mllic-c PUBLIC pch.h) | ||
|
||
add_test(NAME mllic-c COMMAND "${CMAKE_CURRENT_LIST_DIR}/test/test.sh" "${CMAKE_BINARY_DIR}") |
File renamed without changes.
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
File renamed without changes.
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,7 +1,7 @@ | ||
|
||
namespace TestNS | ||
{ | ||
struct [[polyglat::export]] TestStruct { | ||
struct [[mllic::export]] TestStruct { | ||
int A; | ||
int B; | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
project(mllic-shared LANGUAGES CXX) | ||
|
||
file(GLOB_RECURSE SOURCES src/*.*) | ||
add_library(mllic-shared STATIC ${SOURCES}) | ||
target_precompile_headers(mllic-shared PUBLIC pch.h) |
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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
project(mllic-test LANGUAGES CXX) | ||
|
||
file(GLOB_RECURSE SOURCES src/*.cxx) | ||
add_mllic_library(mllic-test CXX ${SOURCES}) | ||
add_dependencies(mllic-test mllic-c) | ||
|
||
set_target_properties(mllic-test PROPERTIES | ||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" | ||
) | ||
|
||
add_test(NAME mllic-test COMMAND xmllint --noout "$<TARGET_GENEX_EVAL:mllic-test,$<TARGET_PROPERTY:mllic-test,TARGET_PSM_FILE>>") |
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,7 +1,7 @@ | ||
|
||
namespace ns { | ||
struct record { | ||
[[polyglat::export]] int foo(int a); | ||
[[mllic::export]] int foo(int a); | ||
}; | ||
} | ||
|
||
|
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.