hide dynemu cpp module in python

This commit is contained in:
wrapper 2026-03-29 14:46:05 +07:00
parent 446d280508
commit 236b53291c
3 changed files with 5 additions and 8 deletions

View file

@ -1,8 +1,6 @@
{
"files.associations": {
"*.ejs": "html",
"*.c": "c",
"*.s": "ca65",
"*.h": "c",
"memory": "cpp",
"algorithm": "cpp",
@ -106,7 +104,6 @@
"stdfloat": "cpp",
"resumable": "cpp"
},
"C_Cpp.default.compilerPath": "d:\\Daffin\\vs_com_2022\\VC\\Tools\\MSVC\\14.42.34433\\bin\\Hostx64\\x64\\cl.exe",
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
"dotnet.defaultSolution": "disable"
}

View file

@ -1,3 +1,3 @@
from .dynemup import Dynemu
from ._dynemu import Dynemu
__all__ = ['Dynemu']

View file

@ -1,6 +1,6 @@
pybind11_add_module(dynemup dynemu.cpp)
pybind11_add_module(_dynemu dynemu.cpp)
add_dependencies(dynemup dynemu)
target_link_libraries(dynemup PUBLIC dynemu)
add_dependencies(_dynemu dynemu)
target_link_libraries(_dynemu PUBLIC dynemu)
install(TARGETS dynemup LIBRARY DESTINATION ./dynemu)
install(TARGETS _dynemu LIBRARY DESTINATION ./dynemu)