-
-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pycdc: add 2024.08.12 version (#5414)
* pycdc: add 2024.08.12 version * drop 2022.10.04 version * limit shared config
- Loading branch information
1 parent
4190da7
commit 5f4b081
Showing
2 changed files
with
36 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
add_rules("mode.debug", "mode.release") | ||
|
||
set_languages("c++11") | ||
|
||
target("pycxx") | ||
set_kind("$(kind)") | ||
add_files( | ||
"bytecode.cpp", | ||
"data.cpp", | ||
"pyc_*.cpp", | ||
"bytes/python_*.cpp" | ||
) | ||
add_includedirs(os.projectdir()) | ||
add_headerfiles("*.h") | ||
|
||
if is_plat("windows") and is_kind("shared") then | ||
add_rules("utils.symbols.export_all", {export_classes = true}) | ||
end | ||
|
||
target("pycdas") | ||
set_kind("binary") | ||
add_files("pycdas.cpp") | ||
add_deps("pycxx") | ||
|
||
target("pycdc") | ||
set_kind("binary") | ||
add_files("pycdc.cpp", "ASTree.cpp", "ASTNode.cpp") | ||
add_deps("pycxx") |
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