pycdc: add 2024.08.12 version (#5414 )
* pycdc: add 2024.08.12 version * drop 2022.10.04 version * limit shared configpull/5231/merge
parent
4190da7926
commit
5f4b081353
2 changed files with 36 additions and 11 deletions
@ -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") |
Loading…
Reference in new issue