panda3d-interrogate 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of panda3d-interrogate might be problematic. Click here for more details.
- panda3d_interrogate-0.1.0/.clang-tidy +6 -0
- panda3d_interrogate-0.1.0/.editorconfig +22 -0
- panda3d_interrogate-0.1.0/.github/workflows/ci.yml +55 -0
- panda3d_interrogate-0.1.0/.github/workflows/release.yml +75 -0
- panda3d_interrogate-0.1.0/.gitignore +74 -0
- panda3d_interrogate-0.1.0/CMakeLists.txt +97 -0
- panda3d_interrogate-0.1.0/LICENSE +30 -0
- panda3d_interrogate-0.1.0/PKG-INFO +99 -0
- panda3d_interrogate-0.1.0/README.md +54 -0
- panda3d_interrogate-0.1.0/cmake/README.md +66 -0
- panda3d_interrogate-0.1.0/cmake/macros/AddBisonTarget.cmake +75 -0
- panda3d_interrogate-0.1.0/cmake/macros/AddFlexTarget.cmake +81 -0
- panda3d_interrogate-0.1.0/cmake/macros/CompositeSources.cmake +167 -0
- panda3d_interrogate-0.1.0/cmake/macros/PackageConfig.cmake +482 -0
- panda3d_interrogate-0.1.0/cmake/macros/Python.cmake +93 -0
- panda3d_interrogate-0.1.0/cmake/macros/README.md +9 -0
- panda3d_interrogate-0.1.0/cmake/scripts/ConcatenateToCXX.cmake +70 -0
- panda3d_interrogate-0.1.0/cmake/scripts/MakeComposite.cmake +28 -0
- panda3d_interrogate-0.1.0/cmake/scripts/README.md +10 -0
- panda3d_interrogate-0.1.0/parser-inc/AR/ar.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/Cg/cg.h +30 -0
- panda3d_interrogate-0.1.0/parser-inc/Cg/cgGL.h +23 -0
- panda3d_interrogate-0.1.0/parser-inc/Eigen/Dense +5 -0
- panda3d_interrogate-0.1.0/parser-inc/Eigen/StdVector +6 -0
- panda3d_interrogate-0.1.0/parser-inc/Forest/Forest.h +8 -0
- panda3d_interrogate-0.1.0/parser-inc/Max.h +23 -0
- panda3d_interrogate-0.1.0/parser-inc/NxBoxController.h +27 -0
- panda3d_interrogate-0.1.0/parser-inc/NxCapsuleController.h +27 -0
- panda3d_interrogate-0.1.0/parser-inc/NxController.h +29 -0
- panda3d_interrogate-0.1.0/parser-inc/NxControllerManager.h +24 -0
- panda3d_interrogate-0.1.0/parser-inc/NxCooking.h +24 -0
- panda3d_interrogate-0.1.0/parser-inc/NxExtended.h +24 -0
- panda3d_interrogate-0.1.0/parser-inc/NxPhysics.h +156 -0
- panda3d_interrogate-0.1.0/parser-inc/NxStream.h +24 -0
- panda3d_interrogate-0.1.0/parser-inc/OVR.h +16 -0
- panda3d_interrogate-0.1.0/parser-inc/Python.h +55 -0
- panda3d_interrogate-0.1.0/parser-inc/README +5 -0
- panda3d_interrogate-0.1.0/parser-inc/Renderers/OpenGL/DirectX9Renderer.h +7 -0
- panda3d_interrogate-0.1.0/parser-inc/Renderers/OpenGL/OpenGLRenderer.h +7 -0
- panda3d_interrogate-0.1.0/parser-inc/WebCore.h +3 -0
- panda3d_interrogate-0.1.0/parser-inc/WebView.h +5 -0
- panda3d_interrogate-0.1.0/parser-inc/WebViewListener.h +4 -0
- panda3d_interrogate-0.1.0/parser-inc/XInput.h +5 -0
- panda3d_interrogate-0.1.0/parser-inc/algorithm +31 -0
- panda3d_interrogate-0.1.0/parser-inc/alloca.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/android/asset_manager.h +2 -0
- panda3d_interrogate-0.1.0/parser-inc/android/log.h +10 -0
- panda3d_interrogate-0.1.0/parser-inc/ar.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/arpa/inet.h +4 -0
- panda3d_interrogate-0.1.0/parser-inc/artools.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/assert.h +6 -0
- panda3d_interrogate-0.1.0/parser-inc/atomic +65 -0
- panda3d_interrogate-0.1.0/parser-inc/avcodec.h +8 -0
- panda3d_interrogate-0.1.0/parser-inc/avformat.h +6 -0
- panda3d_interrogate-0.1.0/parser-inc/avio.h +8 -0
- panda3d_interrogate-0.1.0/parser-inc/avutil.h +4 -0
- panda3d_interrogate-0.1.0/parser-inc/bit +9 -0
- panda3d_interrogate-0.1.0/parser-inc/btBulletDynamicsCommon.h +138 -0
- panda3d_interrogate-0.1.0/parser-inc/cassert +1 -0
- panda3d_interrogate-0.1.0/parser-inc/cerrno +1 -0
- panda3d_interrogate-0.1.0/parser-inc/cfloat +1 -0
- panda3d_interrogate-0.1.0/parser-inc/clocale +1 -0
- panda3d_interrogate-0.1.0/parser-inc/cmath +4 -0
- panda3d_interrogate-0.1.0/parser-inc/collision_trimesh.h +1 -0
- panda3d_interrogate-0.1.0/parser-inc/compare +23 -0
- panda3d_interrogate-0.1.0/parser-inc/condition_variable +11 -0
- panda3d_interrogate-0.1.0/parser-inc/control.h +10 -0
- panda3d_interrogate-0.1.0/parser-inc/coroutine +31 -0
- panda3d_interrogate-0.1.0/parser-inc/csetjmp +5 -0
- panda3d_interrogate-0.1.0/parser-inc/cstdarg +5 -0
- panda3d_interrogate-0.1.0/parser-inc/cstddef +7 -0
- panda3d_interrogate-0.1.0/parser-inc/cstdint +1 -0
- panda3d_interrogate-0.1.0/parser-inc/cstdio +1 -0
- panda3d_interrogate-0.1.0/parser-inc/cstdlib +21 -0
- panda3d_interrogate-0.1.0/parser-inc/cstring +1 -0
- panda3d_interrogate-0.1.0/parser-inc/ctime +1 -0
- panda3d_interrogate-0.1.0/parser-inc/ctype.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/cv.h +8 -0
- panda3d_interrogate-0.1.0/parser-inc/cvtypes.h +13 -0
- panda3d_interrogate-0.1.0/parser-inc/cwchar +8 -0
- panda3d_interrogate-0.1.0/parser-inc/cxcore.h +6 -0
- panda3d_interrogate-0.1.0/parser-inc/cxerror.h +7 -0
- panda3d_interrogate-0.1.0/parser-inc/cxtypes.h +78 -0
- panda3d_interrogate-0.1.0/parser-inc/deque +43 -0
- panda3d_interrogate-0.1.0/parser-inc/dirent.h +3 -0
- panda3d_interrogate-0.1.0/parser-inc/dllpath.h +6 -0
- panda3d_interrogate-0.1.0/parser-inc/emscripten/em_asm.h +13 -0
- panda3d_interrogate-0.1.0/parser-inc/emscripten/em_js.h +3 -0
- panda3d_interrogate-0.1.0/parser-inc/emscripten/emscripten.h +24 -0
- panda3d_interrogate-0.1.0/parser-inc/emscripten/fiber.h +7 -0
- panda3d_interrogate-0.1.0/parser-inc/emscripten/trace.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/emscripten.h +1 -0
- panda3d_interrogate-0.1.0/parser-inc/errno.h +7 -0
- panda3d_interrogate-0.1.0/parser-inc/event.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/exception +10 -0
- panda3d_interrogate-0.1.0/parser-inc/fcntl.h +7 -0
- panda3d_interrogate-0.1.0/parser-inc/fftw3.h +14 -0
- panda3d_interrogate-0.1.0/parser-inc/files.h +27 -0
- panda3d_interrogate-0.1.0/parser-inc/float.h +18 -0
- panda3d_interrogate-0.1.0/parser-inc/forward_list +9 -0
- panda3d_interrogate-0.1.0/parser-inc/fstream +1 -0
- panda3d_interrogate-0.1.0/parser-inc/ft2build.h +35 -0
- panda3d_interrogate-0.1.0/parser-inc/functional +153 -0
- panda3d_interrogate-0.1.0/parser-inc/future +27 -0
- panda3d_interrogate-0.1.0/parser-inc/glew/glew.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/hash_map +55 -0
- panda3d_interrogate-0.1.0/parser-inc/hash_set +55 -0
- panda3d_interrogate-0.1.0/parser-inc/hex.h +22 -0
- panda3d_interrogate-0.1.0/parser-inc/highgui.h +5 -0
- panda3d_interrogate-0.1.0/parser-inc/initializer_list +36 -0
- panda3d_interrogate-0.1.0/parser-inc/integer.h +29 -0
- panda3d_interrogate-0.1.0/parser-inc/intfloat_readwrite.h +6 -0
- panda3d_interrogate-0.1.0/parser-inc/inttypes.h +1 -0
- panda3d_interrogate-0.1.0/parser-inc/io.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/iomanip +6 -0
- panda3d_interrogate-0.1.0/parser-inc/ios +112 -0
- panda3d_interrogate-0.1.0/parser-inc/iosfwd +77 -0
- panda3d_interrogate-0.1.0/parser-inc/iostream +103 -0
- panda3d_interrogate-0.1.0/parser-inc/iparamb2.h +23 -0
- panda3d_interrogate-0.1.0/parser-inc/iparamm2.h +23 -0
- panda3d_interrogate-0.1.0/parser-inc/iskin.h +23 -0
- panda3d_interrogate-0.1.0/parser-inc/istdplug.h +23 -0
- panda3d_interrogate-0.1.0/parser-inc/iterator +74 -0
- panda3d_interrogate-0.1.0/parser-inc/jni.h +39 -0
- panda3d_interrogate-0.1.0/parser-inc/krb5.h +29 -0
- panda3d_interrogate-0.1.0/parser-inc/libavcodec/avcodec.h +8 -0
- panda3d_interrogate-0.1.0/parser-inc/libavformat/avformat.h +6 -0
- panda3d_interrogate-0.1.0/parser-inc/libavformat/avio.h +8 -0
- panda3d_interrogate-0.1.0/parser-inc/libavutil/avutil.h +4 -0
- panda3d_interrogate-0.1.0/parser-inc/libswscale/swscale.h +3 -0
- panda3d_interrogate-0.1.0/parser-inc/limits +5 -0
- panda3d_interrogate-0.1.0/parser-inc/limits.h +39 -0
- panda3d_interrogate-0.1.0/parser-inc/list +46 -0
- panda3d_interrogate-0.1.0/parser-inc/locale.h +9 -0
- panda3d_interrogate-0.1.0/parser-inc/malloc.h +13 -0
- panda3d_interrogate-0.1.0/parser-inc/map +57 -0
- panda3d_interrogate-0.1.0/parser-inc/math.h +13 -0
- panda3d_interrogate-0.1.0/parser-inc/mathematics.h +7 -0
- panda3d_interrogate-0.1.0/parser-inc/memory +190 -0
- panda3d_interrogate-0.1.0/parser-inc/minmax.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/mmsystem.h +23 -0
- panda3d_interrogate-0.1.0/parser-inc/netdb.h +9 -0
- panda3d_interrogate-0.1.0/parser-inc/netinet/in.h +17 -0
- panda3d_interrogate-0.1.0/parser-inc/netinet/ip.h +17 -0
- panda3d_interrogate-0.1.0/parser-inc/netinet/tcp.h +17 -0
- panda3d_interrogate-0.1.0/parser-inc/new +23 -0
- panda3d_interrogate-0.1.0/parser-inc/nurbs.hh +27 -0
- panda3d_interrogate-0.1.0/parser-inc/ode/ode.h +93 -0
- panda3d_interrogate-0.1.0/parser-inc/ode.h +91 -0
- panda3d_interrogate-0.1.0/parser-inc/ogg/ogg.h +14 -0
- panda3d_interrogate-0.1.0/parser-inc/ogg/os_types.h +16 -0
- panda3d_interrogate-0.1.0/parser-inc/opencv2/highgui/highgui.hpp +0 -0
- panda3d_interrogate-0.1.0/parser-inc/openssl/crypto.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/openssl/err.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/openssl/evp.h +7 -0
- panda3d_interrogate-0.1.0/parser-inc/openssl/md5.h +17 -0
- panda3d_interrogate-0.1.0/parser-inc/openssl/pem.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/openssl/rand.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/openssl/rsa.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/openssl/ssl.h +16 -0
- panda3d_interrogate-0.1.0/parser-inc/openssl/x509.h +8 -0
- panda3d_interrogate-0.1.0/parser-inc/openssl/x509v3.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/opus/opus.h +6 -0
- panda3d_interrogate-0.1.0/parser-inc/opus/opus_types.h +19 -0
- panda3d_interrogate-0.1.0/parser-inc/opus/opusfile.h +8 -0
- panda3d_interrogate-0.1.0/parser-inc/os_types.h +16 -0
- panda3d_interrogate-0.1.0/parser-inc/ostream +14 -0
- panda3d_interrogate-0.1.0/parser-inc/pair +31 -0
- panda3d_interrogate-0.1.0/parser-inc/phyexp.h +23 -0
- panda3d_interrogate-0.1.0/parser-inc/process.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/pthread.h +27 -0
- panda3d_interrogate-0.1.0/parser-inc/pthreadtypes.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/py_panda.h +13 -0
- panda3d_interrogate-0.1.0/parser-inc/pyconfig.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/queue +61 -0
- panda3d_interrogate-0.1.0/parser-inc/rational.h +31 -0
- panda3d_interrogate-0.1.0/parser-inc/rtp.h +22 -0
- panda3d_interrogate-0.1.0/parser-inc/rtsp.h +22 -0
- panda3d_interrogate-0.1.0/parser-inc/rtspcodes.h +11 -0
- panda3d_interrogate-0.1.0/parser-inc/semaphore.h +6 -0
- panda3d_interrogate-0.1.0/parser-inc/set +51 -0
- panda3d_interrogate-0.1.0/parser-inc/setjmp.h +24 -0
- panda3d_interrogate-0.1.0/parser-inc/shared_mutex +7 -0
- panda3d_interrogate-0.1.0/parser-inc/signal.h +21 -0
- panda3d_interrogate-0.1.0/parser-inc/squish.h +9 -0
- panda3d_interrogate-0.1.0/parser-inc/sstream +23 -0
- panda3d_interrogate-0.1.0/parser-inc/stack +43 -0
- panda3d_interrogate-0.1.0/parser-inc/stdarg.h +6 -0
- panda3d_interrogate-0.1.0/parser-inc/stdcompare.h +33 -0
- panda3d_interrogate-0.1.0/parser-inc/stddef.h +27 -0
- panda3d_interrogate-0.1.0/parser-inc/stdint.h +64 -0
- panda3d_interrogate-0.1.0/parser-inc/stdio.h +12 -0
- panda3d_interrogate-0.1.0/parser-inc/stdlib.h +6 -0
- panda3d_interrogate-0.1.0/parser-inc/stdmat.h +23 -0
- panda3d_interrogate-0.1.0/parser-inc/stdtypedefs.h +50 -0
- panda3d_interrogate-0.1.0/parser-inc/streambuf +14 -0
- panda3d_interrogate-0.1.0/parser-inc/string +101 -0
- panda3d_interrogate-0.1.0/parser-inc/string.h +1 -0
- panda3d_interrogate-0.1.0/parser-inc/swscale.h +3 -0
- panda3d_interrogate-0.1.0/parser-inc/synchapi.h +12 -0
- panda3d_interrogate-0.1.0/parser-inc/sys/inotify.h +1 -0
- panda3d_interrogate-0.1.0/parser-inc/sys/ioctl.h +3 -0
- panda3d_interrogate-0.1.0/parser-inc/sys/malloc.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/sys/mman.h +3 -0
- panda3d_interrogate-0.1.0/parser-inc/sys/select.h +1 -0
- panda3d_interrogate-0.1.0/parser-inc/sys/socket.h +18 -0
- panda3d_interrogate-0.1.0/parser-inc/sys/stat.h +8 -0
- panda3d_interrogate-0.1.0/parser-inc/sys/sysctl.h +15 -0
- panda3d_interrogate-0.1.0/parser-inc/sys/sysinfo.h +1 -0
- panda3d_interrogate-0.1.0/parser-inc/sys/time.h +5 -0
- panda3d_interrogate-0.1.0/parser-inc/sys/timeb.h +0 -0
- panda3d_interrogate-0.1.0/parser-inc/sys/types.h +17 -0
- panda3d_interrogate-0.1.0/parser-inc/thread +21 -0
- panda3d_interrogate-0.1.0/parser-inc/time.h +8 -0
- panda3d_interrogate-0.1.0/parser-inc/type_traits +118 -0
- panda3d_interrogate-0.1.0/parser-inc/typeinfo +22 -0
- panda3d_interrogate-0.1.0/parser-inc/ucontext.h +14 -0
- panda3d_interrogate-0.1.0/parser-inc/unistd.h +10 -0
- panda3d_interrogate-0.1.0/parser-inc/unordered_map +85 -0
- panda3d_interrogate-0.1.0/parser-inc/unordered_set +84 -0
- panda3d_interrogate-0.1.0/parser-inc/utility +16 -0
- panda3d_interrogate-0.1.0/parser-inc/vector +51 -0
- panda3d_interrogate-0.1.0/parser-inc/vorbis/codec.h +1 -0
- panda3d_interrogate-0.1.0/parser-inc/vorbis/vorbisfile.h +9 -0
- panda3d_interrogate-0.1.0/parser-inc/vorbisfile.h +1 -0
- panda3d_interrogate-0.1.0/parser-inc/vrpn_Analog.h +4 -0
- panda3d_interrogate-0.1.0/parser-inc/vrpn_Button.h +4 -0
- panda3d_interrogate-0.1.0/parser-inc/vrpn_Configure.h +3 -0
- panda3d_interrogate-0.1.0/parser-inc/vrpn_Connection.h +3 -0
- panda3d_interrogate-0.1.0/parser-inc/vrpn_Dial.h +4 -0
- panda3d_interrogate-0.1.0/parser-inc/vrpn_Tracker.h +6 -0
- panda3d_interrogate-0.1.0/parser-inc/windows.h +83 -0
- panda3d_interrogate-0.1.0/parser-inc/winnt.h +18 -0
- panda3d_interrogate-0.1.0/parser-inc/winsock.h +3 -0
- panda3d_interrogate-0.1.0/parser-inc/winsock2.h +14 -0
- panda3d_interrogate-0.1.0/parser-inc/ws2tcpip.h +1 -0
- panda3d_interrogate-0.1.0/parser-inc/wtypes.h +28 -0
- panda3d_interrogate-0.1.0/parser-inc/xmmintrin.h +1 -0
- panda3d_interrogate-0.1.0/parser-inc/zconf.h +19 -0
- panda3d_interrogate-0.1.0/parser-inc/zlib.h +28 -0
- panda3d_interrogate-0.1.0/pyproject.toml +64 -0
- panda3d_interrogate-0.1.0/python/interrogate/__init__.py +14 -0
- panda3d_interrogate-0.1.0/python/interrogate/__main__.py +3 -0
- panda3d_interrogate-0.1.0/python/interrogate_module/__init__.py +14 -0
- panda3d_interrogate-0.1.0/python/interrogate_module/__main__.py +3 -0
- panda3d_interrogate-0.1.0/src/CMakeLists.txt +7 -0
- panda3d_interrogate-0.1.0/src/CompilerFlags.cmake +242 -0
- panda3d_interrogate-0.1.0/src/Config.cmake +219 -0
- panda3d_interrogate-0.1.0/src/LocalSetup.cmake +56 -0
- panda3d_interrogate-0.1.0/src/cppparser/CMakeLists.txt +47 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppArrayType.cxx +269 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppArrayType.h +65 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppAttributeList.cxx +196 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppAttributeList.h +66 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppBison.cxx.prebuilt +10080 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppBison.h.prebuilt +394 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppBison.yxx +4455 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppBisonDefs.h +124 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppClassTemplateParameter.cxx +126 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppClassTemplateParameter.h +47 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppClosureType.cxx +200 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppClosureType.h +65 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppCommentBlock.cxx +14 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppCommentBlock.h +41 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppConstType.cxx +240 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppConstType.h +66 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppDeclaration.cxx +379 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppDeclaration.h +240 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppEnumType.cxx +328 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppEnumType.h +71 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppExpression.cxx +2450 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppExpression.h +203 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppExpressionParser.cxx +77 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppExpressionParser.h +48 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppExtensionType.cxx +281 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppExtensionType.h +81 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppFile.cxx +144 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppFile.h +63 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppFunctionGroup.cxx +92 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppFunctionGroup.h +47 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppFunctionType.cxx +463 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppFunctionType.h +101 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppGlobals.cxx +16 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppGlobals.h +26 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppIdentifier.cxx +612 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppIdentifier.h +106 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppInstance.cxx +637 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppInstance.h +138 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppInstanceIdentifier.cxx +345 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppInstanceIdentifier.h +115 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppMakeProperty.cxx +122 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppMakeProperty.h +116 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppMakeSeq.cxx +81 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppMakeSeq.h +50 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppManifest.cxx +672 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppManifest.h +100 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppNameComponent.cxx +167 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppNameComponent.h +56 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppNamespace.cxx +116 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppNamespace.h +52 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppParameterList.cxx +239 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppParameterList.h +66 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppParser.cxx +93 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppParser.h +52 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppPointerType.cxx +308 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppPointerType.h +64 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppPreprocessor.cxx +3296 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppPreprocessor.h +235 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppReferenceType.cxx +296 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppReferenceType.h +70 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppScope.cxx +1191 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppScope.h +165 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppSimpleType.cxx +290 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppSimpleType.h +100 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppStructType.cxx +1546 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppStructType.h +132 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppTBDType.cxx +175 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppTBDType.h +62 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppTemplateParameterList.cxx +234 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppTemplateParameterList.h +76 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppTemplateScope.cxx +172 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppTemplateScope.h +58 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppToken.cxx +1327 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppToken.h +51 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppType.cxx +535 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppType.h +115 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppTypeDeclaration.cxx +67 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppTypeDeclaration.h +41 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppTypeParser.cxx +77 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppTypeParser.h +48 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppTypeProxy.cxx +319 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppTypeProxy.h +71 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppTypedefType.cxx +471 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppTypedefType.h +92 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppUsing.cxx +53 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppUsing.h +41 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppVisibility.cxx +36 -0
- panda3d_interrogate-0.1.0/src/cppparser/cppVisibility.h +30 -0
- panda3d_interrogate-0.1.0/src/dtoolbase/CMakeLists.txt +29 -0
- panda3d_interrogate-0.1.0/src/dtoolbase/dtoolbase.cxx +23 -0
- panda3d_interrogate-0.1.0/src/dtoolbase/dtoolbase.h +315 -0
- panda3d_interrogate-0.1.0/src/dtoolbase/dtoolbase_cc.h +151 -0
- panda3d_interrogate-0.1.0/src/dtoolbase/dtoolsymbols.h +98 -0
- panda3d_interrogate-0.1.0/src/dtoolbase/indent.I +61 -0
- panda3d_interrogate-0.1.0/src/dtoolbase/indent.cxx +25 -0
- panda3d_interrogate-0.1.0/src/dtoolbase/indent.h +44 -0
- panda3d_interrogate-0.1.0/src/dtoolbase/pdtoa.cxx +454 -0
- panda3d_interrogate-0.1.0/src/dtoolbase/pdtoa.h +24 -0
- panda3d_interrogate-0.1.0/src/dtoolbase/pstrtod.cxx +161 -0
- panda3d_interrogate-0.1.0/src/dtoolbase/pstrtod.h +33 -0
- panda3d_interrogate-0.1.0/src/dtoolbase/select.tau +4 -0
- panda3d_interrogate-0.1.0/src/dtoolbase/test_strtod.cxx +35 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/CMakeLists.txt +87 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/dSearchPath.I +55 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/dSearchPath.cxx +365 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/dSearchPath.h +103 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/filename.I +640 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/filename.cxx +2557 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/filename.h +254 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/filename_assist.h +30 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/filename_assist.mm +130 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/globPattern.I +133 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/globPattern.cxx +493 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/globPattern.h +90 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/lineStream.I +50 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/lineStream.cxx +14 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/lineStream.h +49 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/lineStreamBuf.I +39 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/lineStreamBuf.cxx +95 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/lineStreamBuf.h +48 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/load_dso.cxx +142 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/load_dso.h +41 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/panda_getopt.h +31 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/panda_getopt_impl.cxx +512 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/panda_getopt_impl.h +74 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/panda_getopt_long.h +33 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/preprocess_argv.cxx +48 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/preprocess_argv.h +22 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/stringDecoder.I +57 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/stringDecoder.cxx +221 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/stringDecoder.h +70 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/string_utils.I +103 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/string_utils.cxx +382 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/string_utils.h +79 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/test_touch.cxx +30 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/textEncoder.I +485 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/textEncoder.cxx +441 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/textEncoder.h +141 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/unicodeLatinMap.cxx +1429 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/unicodeLatinMap.h +140 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/vector_string.cxx +14 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/vector_string.h +22 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/vector_uchar.cxx +14 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/vector_uchar.h +21 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/win32ArgParser.cxx +333 -0
- panda3d_interrogate-0.1.0/src/dtoolutil/win32ArgParser.h +62 -0
- panda3d_interrogate-0.1.0/src/interrogate/CMakeLists.txt +128 -0
- panda3d_interrogate-0.1.0/src/interrogate/README.md +28 -0
- panda3d_interrogate-0.1.0/src/interrogate/functionRemap.cxx +1030 -0
- panda3d_interrogate-0.1.0/src/interrogate/functionRemap.h +150 -0
- panda3d_interrogate-0.1.0/src/interrogate/functionWriter.cxx +76 -0
- panda3d_interrogate-0.1.0/src/interrogate/functionWriter.h +39 -0
- panda3d_interrogate-0.1.0/src/interrogate/functionWriterPtrFromPython.cxx +100 -0
- panda3d_interrogate-0.1.0/src/interrogate/functionWriterPtrFromPython.h +41 -0
- panda3d_interrogate-0.1.0/src/interrogate/functionWriterPtrToPython.cxx +80 -0
- panda3d_interrogate-0.1.0/src/interrogate/functionWriterPtrToPython.h +39 -0
- panda3d_interrogate-0.1.0/src/interrogate/functionWriters.cxx +76 -0
- panda3d_interrogate-0.1.0/src/interrogate/functionWriters.h +49 -0
- panda3d_interrogate-0.1.0/src/interrogate/interfaceMaker.cxx +968 -0
- panda3d_interrogate-0.1.0/src/interrogate/interfaceMaker.h +215 -0
- panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerC.cxx +253 -0
- panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerC.h +57 -0
- panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPython.cxx +71 -0
- panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPython.h +39 -0
- panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPythonNative.cxx +8739 -0
- panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPythonNative.h +232 -0
- panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPythonObj.cxx +658 -0
- panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPythonObj.h +70 -0
- panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPythonSimple.cxx +535 -0
- panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPythonSimple.h +64 -0
- panda3d_interrogate-0.1.0/src/interrogate/interrogate.cxx +638 -0
- panda3d_interrogate-0.1.0/src/interrogate/interrogate.h +50 -0
- panda3d_interrogate-0.1.0/src/interrogate/interrogateBuilder.cxx +3215 -0
- panda3d_interrogate-0.1.0/src/interrogate/interrogateBuilder.h +167 -0
- panda3d_interrogate-0.1.0/src/interrogate/interrogate_module.cxx +624 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemap.I +89 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemap.cxx +118 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemap.h +72 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapBasicStringPtrToString.cxx +83 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapBasicStringPtrToString.h +43 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapBasicStringRefToString.cxx +83 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapBasicStringRefToString.h +43 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapBasicStringToString.cxx +111 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapBasicStringToString.h +47 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapCharStarToString.cxx +32 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapCharStarToString.h +37 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapConcreteToPointer.cxx +91 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapConcreteToPointer.h +36 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapConstToNonConst.cxx +45 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapConstToNonConst.h +34 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapEnumToInt.cxx +70 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapEnumToInt.h +38 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapHandleToInt.cxx +56 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapHandleToInt.h +37 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapPTToPointer.cxx +92 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapPTToPointer.h +40 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapReferenceToConcrete.cxx +49 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapReferenceToConcrete.h +34 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapReferenceToPointer.cxx +58 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapReferenceToPointer.h +33 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapThis.cxx +61 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapThis.h +35 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapToString.cxx +115 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapToString.h +57 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapUnchanged.cxx +23 -0
- panda3d_interrogate-0.1.0/src/interrogate/parameterRemapUnchanged.h +30 -0
- panda3d_interrogate-0.1.0/src/interrogate/parse_file.cxx +446 -0
- panda3d_interrogate-0.1.0/src/interrogate/pnotify.h +136 -0
- panda3d_interrogate-0.1.0/src/interrogate/typeManager.cxx +2614 -0
- panda3d_interrogate-0.1.0/src/interrogate/typeManager.h +157 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/CMakeLists.txt +75 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/config_interrogatedb.cxx +66 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/config_interrogatedb.h +28 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/dtool_super_base.cxx +161 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/extension.h +61 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/indexRemapper.cxx +68 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/indexRemapper.h +44 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateComponent.I +123 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateComponent.cxx +50 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateComponent.h +67 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateDatabase.I +89 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateDatabase.cxx +1330 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateDatabase.h +205 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateElement.I +259 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateElement.cxx +74 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateElement.h +103 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateFunction.I +178 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateFunction.cxx +100 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateFunction.h +117 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateFunctionWrapper.I +240 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateFunctionWrapper.cxx +84 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateFunctionWrapper.h +118 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateMakeSeq.I +103 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateMakeSeq.cxx +50 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateMakeSeq.h +60 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateManifest.I +116 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateManifest.cxx +49 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateManifest.h +66 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateType.I +594 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateType.cxx +247 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogateType.h +239 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogate_datafile.I +51 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogate_datafile.cxx +100 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogate_datafile.h +38 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogate_interface.cxx +1043 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogate_interface.h +581 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogate_request.cxx +37 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/interrogate_request.h +82 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/py_compat.cxx +46 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/py_compat.h +286 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/py_panda.I +351 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/py_panda.cxx +918 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/py_panda.h +415 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/py_wrappers.cxx +1778 -0
- panda3d_interrogate-0.1.0/src/interrogatedb/py_wrappers.h +61 -0
- panda3d_interrogate-0.1.0/src/test_interrogate/test_interrogate.cxx +615 -0
- panda3d_interrogate-0.1.0/src/test_interrogate/test_lib.cxx +40 -0
- panda3d_interrogate-0.1.0/src/test_interrogate/test_lib.h +35 -0
- panda3d_interrogate-0.1.0/tests/CMakeLists.txt +1 -0
- panda3d_interrogate-0.1.0/tests/cppparser/CMakeLists.txt +11 -0
- panda3d_interrogate-0.1.0/tests/cppparser/recursive_macros.c +24 -0
- panda3d_interrogate-0.1.0/tests/cppparser/stat.c +6 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
root = true
|
|
2
|
+
|
|
3
|
+
[*]
|
|
4
|
+
charset = utf-8
|
|
5
|
+
end_of_line = lf
|
|
6
|
+
trim_trailing_whitespace = true
|
|
7
|
+
insert_final_newline = true
|
|
8
|
+
|
|
9
|
+
[*.{py,pyw}]
|
|
10
|
+
indent_style = space
|
|
11
|
+
indent_size = 4
|
|
12
|
+
|
|
13
|
+
[*.{h,c,cxx,cpp,I,T}]
|
|
14
|
+
indent_style = space
|
|
15
|
+
indent_size = 2
|
|
16
|
+
|
|
17
|
+
[{CMakeLists.txt,*.cmake}]
|
|
18
|
+
indent_style = space
|
|
19
|
+
indent_size = 2
|
|
20
|
+
|
|
21
|
+
[*.bat]
|
|
22
|
+
end_of_line = crlf
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: Continuous Integration
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ "main" ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ "main" ]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
build:
|
|
11
|
+
runs-on: ${{ matrix.os }}
|
|
12
|
+
|
|
13
|
+
strategy:
|
|
14
|
+
fail-fast: false
|
|
15
|
+
|
|
16
|
+
matrix:
|
|
17
|
+
os: [ubuntu-latest, windows-latest]
|
|
18
|
+
build_type: [Release]
|
|
19
|
+
c_compiler: [gcc, clang, cl]
|
|
20
|
+
include:
|
|
21
|
+
- os: windows-latest
|
|
22
|
+
c_compiler: cl
|
|
23
|
+
cpp_compiler: cl
|
|
24
|
+
- os: ubuntu-latest
|
|
25
|
+
c_compiler: gcc
|
|
26
|
+
cpp_compiler: g++
|
|
27
|
+
- os: ubuntu-latest
|
|
28
|
+
c_compiler: clang
|
|
29
|
+
cpp_compiler: clang++
|
|
30
|
+
exclude:
|
|
31
|
+
- os: windows-latest
|
|
32
|
+
c_compiler: gcc
|
|
33
|
+
- os: windows-latest
|
|
34
|
+
c_compiler: clang
|
|
35
|
+
- os: ubuntu-latest
|
|
36
|
+
c_compiler: cl
|
|
37
|
+
|
|
38
|
+
steps:
|
|
39
|
+
- uses: actions/checkout@v4
|
|
40
|
+
|
|
41
|
+
- name: Configure CMake
|
|
42
|
+
run: >
|
|
43
|
+
cmake -B ${{ github.workspace }}/build
|
|
44
|
+
-DCMAKE_UNITY_BUILD=OFF
|
|
45
|
+
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
|
|
46
|
+
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
|
|
47
|
+
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
|
|
48
|
+
-S ${{ github.workspace }}
|
|
49
|
+
|
|
50
|
+
- name: Build
|
|
51
|
+
run: cmake --build ${{ github.workspace }}/build --config ${{ matrix.build_type }}
|
|
52
|
+
|
|
53
|
+
- name: Test
|
|
54
|
+
working-directory: ${{ github.workspace }}/build
|
|
55
|
+
run: ctest -V --build-config ${{ matrix.build_type }}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
name: Build Python wheels
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
release:
|
|
8
|
+
types: [published]
|
|
9
|
+
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
build_wheels:
|
|
15
|
+
name: Build wheels
|
|
16
|
+
runs-on: ${{ matrix.os }}
|
|
17
|
+
strategy:
|
|
18
|
+
matrix:
|
|
19
|
+
os: [ubuntu-latest, windows-latest, macos-13]
|
|
20
|
+
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v4
|
|
23
|
+
|
|
24
|
+
- name: Set up Python
|
|
25
|
+
uses: actions/setup-python@v5
|
|
26
|
+
with:
|
|
27
|
+
python-version: '3.x'
|
|
28
|
+
|
|
29
|
+
- name: Install dependencies
|
|
30
|
+
run: |
|
|
31
|
+
python -m pip install --upgrade pip
|
|
32
|
+
pip install build cibuildwheel==2.20.0
|
|
33
|
+
|
|
34
|
+
- name: Build wheels
|
|
35
|
+
run: python -m cibuildwheel
|
|
36
|
+
|
|
37
|
+
- uses: actions/upload-artifact@v4
|
|
38
|
+
with:
|
|
39
|
+
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
|
|
40
|
+
path: ./wheelhouse/*.whl
|
|
41
|
+
|
|
42
|
+
build_sdist:
|
|
43
|
+
name: Build source distribution
|
|
44
|
+
runs-on: ubuntu-latest
|
|
45
|
+
steps:
|
|
46
|
+
- uses: actions/checkout@v4
|
|
47
|
+
|
|
48
|
+
- name: Build sdist
|
|
49
|
+
run: pipx run build --sdist
|
|
50
|
+
|
|
51
|
+
- uses: actions/upload-artifact@v4
|
|
52
|
+
with:
|
|
53
|
+
name: cibw-sdist
|
|
54
|
+
path: dist/*.tar.gz
|
|
55
|
+
|
|
56
|
+
upload_pypi:
|
|
57
|
+
name: Upload to PyPI
|
|
58
|
+
needs: [build_wheels, build_sdist]
|
|
59
|
+
runs-on: ubuntu-latest
|
|
60
|
+
environment: pypi
|
|
61
|
+
permissions:
|
|
62
|
+
id-token: write
|
|
63
|
+
if: github.event_name == 'release' && github.event.action == 'published'
|
|
64
|
+
|
|
65
|
+
steps:
|
|
66
|
+
- uses: actions/download-artifact@v4
|
|
67
|
+
with:
|
|
68
|
+
pattern: cibw-*
|
|
69
|
+
path: dist
|
|
70
|
+
merge-multiple: true
|
|
71
|
+
|
|
72
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
73
|
+
with:
|
|
74
|
+
user: __token__
|
|
75
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# makepanda directories
|
|
2
|
+
/built*/
|
|
3
|
+
/thirdparty/
|
|
4
|
+
/targetroot/
|
|
5
|
+
/dstroot/
|
|
6
|
+
/sdks/
|
|
7
|
+
|
|
8
|
+
# Core dumps and traces
|
|
9
|
+
core
|
|
10
|
+
core.*
|
|
11
|
+
vgcore.*
|
|
12
|
+
*.core
|
|
13
|
+
*.trace
|
|
14
|
+
|
|
15
|
+
# Editor files/directories
|
|
16
|
+
*.save
|
|
17
|
+
*.save.1
|
|
18
|
+
*.sublime-workspace
|
|
19
|
+
.vscode/
|
|
20
|
+
.idea/
|
|
21
|
+
|
|
22
|
+
# Temporary build files
|
|
23
|
+
/_vfsimporter.*
|
|
24
|
+
*.pdb
|
|
25
|
+
*.obj
|
|
26
|
+
*.o
|
|
27
|
+
*.gch
|
|
28
|
+
*.pch
|
|
29
|
+
/+DESC
|
|
30
|
+
/+MANIFEST
|
|
31
|
+
/pkg-plist
|
|
32
|
+
/debug.ks
|
|
33
|
+
|
|
34
|
+
# Produced installer/executables
|
|
35
|
+
/*.exe
|
|
36
|
+
/*.deb
|
|
37
|
+
/*.rpm
|
|
38
|
+
/*.app
|
|
39
|
+
/*.pkg
|
|
40
|
+
/*.dmg
|
|
41
|
+
/*.whl
|
|
42
|
+
/*.txz
|
|
43
|
+
/*.apk
|
|
44
|
+
|
|
45
|
+
# CMake
|
|
46
|
+
/build/
|
|
47
|
+
CMakeCache.txt
|
|
48
|
+
CMakeFiles/
|
|
49
|
+
CMakeScripts/
|
|
50
|
+
Makefile
|
|
51
|
+
cmake_install.cmake
|
|
52
|
+
install_manifest.txt
|
|
53
|
+
CTestTestfile.cmake
|
|
54
|
+
|
|
55
|
+
# Operating system
|
|
56
|
+
Thumbs.db
|
|
57
|
+
ehthumbs.db
|
|
58
|
+
.DS_Store
|
|
59
|
+
|
|
60
|
+
# macOS
|
|
61
|
+
.DS_Store
|
|
62
|
+
|
|
63
|
+
# Python
|
|
64
|
+
__pycache__/
|
|
65
|
+
*.pyc
|
|
66
|
+
*.pyo
|
|
67
|
+
|
|
68
|
+
# Test tool cache directories
|
|
69
|
+
.tox/
|
|
70
|
+
.cache/
|
|
71
|
+
.pytest_cache/
|
|
72
|
+
/.settings/
|
|
73
|
+
/.cproject
|
|
74
|
+
/.project
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 3.13)
|
|
2
|
+
set(CMAKE_DISABLE_SOURCE_CHANGES ON) # Must go before project() below
|
|
3
|
+
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON) # Must go before project() below
|
|
4
|
+
|
|
5
|
+
if(POLICY CMP0091)
|
|
6
|
+
# Needed for CMake to pass /MD flag properly with non-VC generators.
|
|
7
|
+
cmake_policy(SET CMP0091 NEW)
|
|
8
|
+
endif()
|
|
9
|
+
|
|
10
|
+
# Determine whether we are using a multi-config generator.
|
|
11
|
+
get_property(IS_MULTICONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
|
|
12
|
+
|
|
13
|
+
# Set the default CMAKE_BUILD_TYPE before calling project().
|
|
14
|
+
if(IS_MULTICONFIG)
|
|
15
|
+
message(STATUS "Using multi-configuration generator")
|
|
16
|
+
else()
|
|
17
|
+
if(NOT CMAKE_BUILD_TYPE)
|
|
18
|
+
set(CMAKE_BUILD_TYPE Standard CACHE STRING "Choose the type of build." FORCE)
|
|
19
|
+
message(STATUS "Using default build type ${CMAKE_BUILD_TYPE}")
|
|
20
|
+
else()
|
|
21
|
+
message(STATUS "Using build type ${CMAKE_BUILD_TYPE}")
|
|
22
|
+
endif()
|
|
23
|
+
endif()
|
|
24
|
+
|
|
25
|
+
# Set defaults for macOS, must be before project().
|
|
26
|
+
if(APPLE)
|
|
27
|
+
# Needed for enable_language(OBJCXX)
|
|
28
|
+
cmake_minimum_required(VERSION 3.16)
|
|
29
|
+
|
|
30
|
+
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9" CACHE STRING "Minimum macOS version to target")
|
|
31
|
+
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
|
|
32
|
+
|
|
33
|
+
if(CMAKE_VERSION VERSION_LESS "3.19" AND NOT CMAKE_OSX_SYSROOT)
|
|
34
|
+
# Older CMake chose SDK based on deployment target, against Apple's recommendations.
|
|
35
|
+
# However, we need to use the latest to be able to target arm64.
|
|
36
|
+
if(IS_DIRECTORY "/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk")
|
|
37
|
+
set(CMAKE_OSX_SYSROOT "/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk" CACHE STRING "")
|
|
38
|
+
elseif(IS_DIRECTORY "/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk")
|
|
39
|
+
set(CMAKE_OSX_SYSROOT "/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk" CACHE STRING "")
|
|
40
|
+
endif()
|
|
41
|
+
endif()
|
|
42
|
+
endif()
|
|
43
|
+
|
|
44
|
+
project(interrogate)
|
|
45
|
+
|
|
46
|
+
if(APPLE)
|
|
47
|
+
# Allows separating out C++ flags from ObjC++ flags
|
|
48
|
+
enable_language(OBJCXX)
|
|
49
|
+
endif()
|
|
50
|
+
|
|
51
|
+
# Determine the possible build types. Must be *after* calling project().
|
|
52
|
+
set(_configs Standard Release RelWithDebInfo Debug MinSizeRel)
|
|
53
|
+
if(CMAKE_CXX_COMPILER_ID MATCHES "(AppleClang|Clang|GCC)")
|
|
54
|
+
list(APPEND _configs Coverage)
|
|
55
|
+
endif()
|
|
56
|
+
|
|
57
|
+
if(IS_MULTICONFIG)
|
|
58
|
+
set(CMAKE_CONFIGURATION_TYPES "${_configs}" CACHE STRING "" FORCE)
|
|
59
|
+
else()
|
|
60
|
+
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${_configs})
|
|
61
|
+
endif()
|
|
62
|
+
|
|
63
|
+
string(REPLACE "$(EFFECTIVE_PLATFORM_NAME)" "" PANDA_CFG_INTDIR "${CMAKE_CFG_INTDIR}")
|
|
64
|
+
|
|
65
|
+
# Add generic modules to cmake module path,
|
|
66
|
+
# and add Interrogate specific modules to cmake module path
|
|
67
|
+
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/macros/")
|
|
68
|
+
|
|
69
|
+
# When using the Xcode generator, don't append the platform name to the
|
|
70
|
+
# intermediate configuration directory.
|
|
71
|
+
set_property(GLOBAL PROPERTY XCODE_EMIT_EFFECTIVE_PLATFORM_NAME OFF)
|
|
72
|
+
|
|
73
|
+
# Build all static libraries with -fPIC.
|
|
74
|
+
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
75
|
+
|
|
76
|
+
# Include modules builtin to CMake
|
|
77
|
+
include(GNUInstallDirs) # Defines CMAKE_INSTALL_<dir> variables
|
|
78
|
+
|
|
79
|
+
# Include global modules needed for configure scripts
|
|
80
|
+
include(PackageConfig) # Defines package_option
|
|
81
|
+
|
|
82
|
+
# Configure Interrogate
|
|
83
|
+
include(src/CompilerFlags.cmake)
|
|
84
|
+
include(src/Config.cmake)
|
|
85
|
+
|
|
86
|
+
# Include global modules
|
|
87
|
+
include(AddBisonTarget) # Defines add_bison_target function
|
|
88
|
+
include(AddFlexTarget) # Defines add_flex_target function
|
|
89
|
+
include(CompositeSources) # Defines composite_sources function
|
|
90
|
+
include(Python) # Defines add_python_target
|
|
91
|
+
include(CTest)
|
|
92
|
+
|
|
93
|
+
add_subdirectory(src "${CMAKE_BINARY_DIR}/src")
|
|
94
|
+
|
|
95
|
+
if(BUILD_TESTING)
|
|
96
|
+
add_subdirectory(tests)
|
|
97
|
+
endif()
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Copyright (c) 2008, Carnegie Mellon University.
|
|
2
|
+
All rights reserved.
|
|
3
|
+
|
|
4
|
+
Redistribution and use in source and binary forms, with or without
|
|
5
|
+
modification, are permitted provided that the following conditions
|
|
6
|
+
are met:
|
|
7
|
+
|
|
8
|
+
1. Redistributions of source code must retain the above copyright
|
|
9
|
+
notice, this list of conditions and the following disclaimer.
|
|
10
|
+
2. Redistributions in binary form must reproduce the above copyright
|
|
11
|
+
notice, this list of conditions and the following disclaimer in the
|
|
12
|
+
documentation and/or other materials provided with the distribution.
|
|
13
|
+
3. Neither the name of Carnegie Mellon University nor the names of
|
|
14
|
+
other contributors may be used to endorse or promote products
|
|
15
|
+
derived from this software without specific prior written
|
|
16
|
+
permission.
|
|
17
|
+
|
|
18
|
+
THIS SOFTWARE IS PROVIDED BY THE AUTHORS "AS IS" AND ANY EXPRESS OR
|
|
19
|
+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
20
|
+
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
21
|
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
22
|
+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
23
|
+
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
24
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
25
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
26
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
27
|
+
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
28
|
+
|
|
29
|
+
(This is the Modified BSD License. See also
|
|
30
|
+
http://www.opensource.org/licenses/bsd-license.php )
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: panda3d-interrogate
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Binding generator designed for Panda3D
|
|
5
|
+
License: Copyright (c) 2008, Carnegie Mellon University.
|
|
6
|
+
All rights reserved.
|
|
7
|
+
|
|
8
|
+
Redistribution and use in source and binary forms, with or without
|
|
9
|
+
modification, are permitted provided that the following conditions
|
|
10
|
+
are met:
|
|
11
|
+
|
|
12
|
+
1. Redistributions of source code must retain the above copyright
|
|
13
|
+
notice, this list of conditions and the following disclaimer.
|
|
14
|
+
2. Redistributions in binary form must reproduce the above copyright
|
|
15
|
+
notice, this list of conditions and the following disclaimer in the
|
|
16
|
+
documentation and/or other materials provided with the distribution.
|
|
17
|
+
3. Neither the name of Carnegie Mellon University nor the names of
|
|
18
|
+
other contributors may be used to endorse or promote products
|
|
19
|
+
derived from this software without specific prior written
|
|
20
|
+
permission.
|
|
21
|
+
|
|
22
|
+
THIS SOFTWARE IS PROVIDED BY THE AUTHORS "AS IS" AND ANY EXPRESS OR
|
|
23
|
+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
24
|
+
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
25
|
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
26
|
+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
27
|
+
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
28
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
29
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
30
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
31
|
+
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
32
|
+
|
|
33
|
+
(This is the Modified BSD License. See also
|
|
34
|
+
http://www.opensource.org/licenses/bsd-license.php )
|
|
35
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
36
|
+
Classifier: Intended Audience :: Developers
|
|
37
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
38
|
+
Classifier: Operating System :: OS Independent
|
|
39
|
+
Classifier: Programming Language :: C++
|
|
40
|
+
Project-URL: Source, https://github.com/panda3d/interrogate
|
|
41
|
+
Project-URL: Tracker, https://github.com/panda3d/interrogate/issues
|
|
42
|
+
Project-URL: Funding, https://opencollective.com/panda3d
|
|
43
|
+
Requires-Python: >=3.2
|
|
44
|
+
Description-Content-Type: text/markdown
|
|
45
|
+
|
|
46
|
+
interrogate
|
|
47
|
+
===========
|
|
48
|
+
|
|
49
|
+
<img src="https://avatars2.githubusercontent.com/u/590956?v=3&s=500" align="right" width="200" />
|
|
50
|
+
|
|
51
|
+
Interrogate is a binding generator for Python and other scripting languages.
|
|
52
|
+
It was designed for use with the [Panda3D](https://www.panda3d.org/) game
|
|
53
|
+
engine, but can be used for other libraries. It was recently split out of the
|
|
54
|
+
[Panda3D codebase](https://github.com/panda3d/panda3d), and work is ongoing to
|
|
55
|
+
refactor the code and make it more independent.
|
|
56
|
+
|
|
57
|
+
Interrogate consists of the following components:
|
|
58
|
+
|
|
59
|
+
- A library for C++ parsing.
|
|
60
|
+
- Stub headers necessary for efficiently parsing code that uses the C++
|
|
61
|
+
standard library and other popular thirdparty libraries.
|
|
62
|
+
- The interrogate command-line tool, which parses the given set of C++ files
|
|
63
|
+
and outputs Python and/or C bindings.
|
|
64
|
+
- The interrogatedb library, which can be used to parse the .idb files that
|
|
65
|
+
may be generated by the above tool. These can be used to generate
|
|
66
|
+
documentation files.
|
|
67
|
+
- Python bindings for the interrogatedb library.
|
|
68
|
+
|
|
69
|
+
Interrogate is licensed under the Modified BSD License. See the LICENSE file
|
|
70
|
+
for more details.
|
|
71
|
+
|
|
72
|
+
Back-ends
|
|
73
|
+
---------
|
|
74
|
+
|
|
75
|
+
The following back-ends are currently implemented:
|
|
76
|
+
|
|
77
|
+
- `-c`: generate C wrapper functions for use with an FFI.
|
|
78
|
+
- `-python`: the "simple" Python back-end, supporting basic functions.
|
|
79
|
+
Supports the stable Python API.
|
|
80
|
+
- `-python-obj`: a version of the above back-end with object support.
|
|
81
|
+
- `-python-native`: a very powerful back-end with an exhaustive feature list,
|
|
82
|
+
however, the resulting binaries currently depend on Panda3D.
|
|
83
|
+
|
|
84
|
+
Reporting Issues
|
|
85
|
+
----------------
|
|
86
|
+
|
|
87
|
+
If you encounter any bugs when using Interrogate, please report them in the
|
|
88
|
+
bug tracker. This is hosted at:
|
|
89
|
+
|
|
90
|
+
https://github.com/panda3d/interrogate/issues
|
|
91
|
+
|
|
92
|
+
Make sure to first use the search function to see if the bug has already been
|
|
93
|
+
reported. When filling out a bug report, make sure that you include as much
|
|
94
|
+
information as possible to help the developers track down the issue, such as
|
|
95
|
+
your version of interrogate, operating system, architecture, and any code and
|
|
96
|
+
models that are necessary for the developers to reproduce the issue.
|
|
97
|
+
|
|
98
|
+
If you're not sure whether you've encountered a bug, feel free to ask about
|
|
99
|
+
it in the forums or the IRC channel first.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
interrogate
|
|
2
|
+
===========
|
|
3
|
+
|
|
4
|
+
<img src="https://avatars2.githubusercontent.com/u/590956?v=3&s=500" align="right" width="200" />
|
|
5
|
+
|
|
6
|
+
Interrogate is a binding generator for Python and other scripting languages.
|
|
7
|
+
It was designed for use with the [Panda3D](https://www.panda3d.org/) game
|
|
8
|
+
engine, but can be used for other libraries. It was recently split out of the
|
|
9
|
+
[Panda3D codebase](https://github.com/panda3d/panda3d), and work is ongoing to
|
|
10
|
+
refactor the code and make it more independent.
|
|
11
|
+
|
|
12
|
+
Interrogate consists of the following components:
|
|
13
|
+
|
|
14
|
+
- A library for C++ parsing.
|
|
15
|
+
- Stub headers necessary for efficiently parsing code that uses the C++
|
|
16
|
+
standard library and other popular thirdparty libraries.
|
|
17
|
+
- The interrogate command-line tool, which parses the given set of C++ files
|
|
18
|
+
and outputs Python and/or C bindings.
|
|
19
|
+
- The interrogatedb library, which can be used to parse the .idb files that
|
|
20
|
+
may be generated by the above tool. These can be used to generate
|
|
21
|
+
documentation files.
|
|
22
|
+
- Python bindings for the interrogatedb library.
|
|
23
|
+
|
|
24
|
+
Interrogate is licensed under the Modified BSD License. See the LICENSE file
|
|
25
|
+
for more details.
|
|
26
|
+
|
|
27
|
+
Back-ends
|
|
28
|
+
---------
|
|
29
|
+
|
|
30
|
+
The following back-ends are currently implemented:
|
|
31
|
+
|
|
32
|
+
- `-c`: generate C wrapper functions for use with an FFI.
|
|
33
|
+
- `-python`: the "simple" Python back-end, supporting basic functions.
|
|
34
|
+
Supports the stable Python API.
|
|
35
|
+
- `-python-obj`: a version of the above back-end with object support.
|
|
36
|
+
- `-python-native`: a very powerful back-end with an exhaustive feature list,
|
|
37
|
+
however, the resulting binaries currently depend on Panda3D.
|
|
38
|
+
|
|
39
|
+
Reporting Issues
|
|
40
|
+
----------------
|
|
41
|
+
|
|
42
|
+
If you encounter any bugs when using Interrogate, please report them in the
|
|
43
|
+
bug tracker. This is hosted at:
|
|
44
|
+
|
|
45
|
+
https://github.com/panda3d/interrogate/issues
|
|
46
|
+
|
|
47
|
+
Make sure to first use the search function to see if the bug has already been
|
|
48
|
+
reported. When filling out a bug report, make sure that you include as much
|
|
49
|
+
information as possible to help the developers track down the issue, such as
|
|
50
|
+
your version of interrogate, operating system, architecture, and any code and
|
|
51
|
+
models that are necessary for the developers to reproduce the issue.
|
|
52
|
+
|
|
53
|
+
If you're not sure whether you've encountered a bug, feel free to ask about
|
|
54
|
+
it in the forums or the IRC channel first.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
Building with CMake
|
|
2
|
+
-------------------
|
|
3
|
+
|
|
4
|
+
On Windows and macOS, please ensure that you have the very latest version of
|
|
5
|
+
CMake installed; older versions may work, but if not, please upgrade to the
|
|
6
|
+
latest available version of CMake before requesting help.
|
|
7
|
+
|
|
8
|
+
On systems that package CMake themselves (e.g. Linux distributions), we most
|
|
9
|
+
likely support the provided version of CMake as long as the system itself is
|
|
10
|
+
supported.
|
|
11
|
+
|
|
12
|
+
CMake will also require that you already have your system's developer tools
|
|
13
|
+
installed.
|
|
14
|
+
|
|
15
|
+
The quickest way to build and install Interrogate with CMake is to install any
|
|
16
|
+
third-party dependencies and then run:
|
|
17
|
+
```sh
|
|
18
|
+
mkdir build && cd build
|
|
19
|
+
cmake ..
|
|
20
|
+
cmake --build . --config Standard --parallel 4
|
|
21
|
+
[sudo] cmake --build . --config Standard --target install
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Note that, if you are targeting 64-bit on Windows, it is necessary to supply
|
|
25
|
+
the `-A x64` option when first invoking `cmake` (as `cmake -A x64 ..`).
|
|
26
|
+
|
|
27
|
+
CMake itself does not build Panda; rather, it generates project files for an
|
|
28
|
+
existing IDE or build tool. To select a build tool, pass the `-G` option when
|
|
29
|
+
first invoking CMake, (`cmake -G Ninja ..` is highly recommended on Linux).
|
|
30
|
+
Some of these (Xcode, Visual Studio) support targeting multiple configurations
|
|
31
|
+
(the `--config Standard`, above, selects the `Standard` configuration in those
|
|
32
|
+
cases). Other build tools (Ninja, Makefiles, ...) do not support multiple
|
|
33
|
+
configurations, and the `--config` option is ignored. To change the
|
|
34
|
+
configuration in these cases (from `Standard`, the default), it is necessary to
|
|
35
|
+
change the `CMAKE_BUILD_TYPE` variable as explained below.
|
|
36
|
+
|
|
37
|
+
The configurations are:
|
|
38
|
+
|
|
39
|
+
| Configuration | Explanation |
|
|
40
|
+
| -------------- | ------------------------------------------------------ |
|
|
41
|
+
| Standard | Default; build provided to users of SDK |
|
|
42
|
+
| Release | Distribution for end-users |
|
|
43
|
+
| MinSizeRel | Like Release, but optimized for size |
|
|
44
|
+
| RelWithDebInfo | Like Release, but include debug symbols |
|
|
45
|
+
| Debug | Do not optimize, enable optional debugging features |
|
|
46
|
+
| Coverage | Like Debug, but profile code coverage; developers only |
|
|
47
|
+
|
|
48
|
+
To configure CMake, it is recommended to use cmake-gui (`cmake-gui .`),
|
|
49
|
+
or ccmake (`ccmake .`), however it is also possible to configure it entirely
|
|
50
|
+
through CMake's command-line interface; see `man cmake` for more details.
|
|
51
|
+
|
|
52
|
+
In general, the config variable for a particular third party library is:
|
|
53
|
+
```
|
|
54
|
+
HAVE_<LIBRARY>=YES/NO # Example: HAVE_MIMALLOC
|
|
55
|
+
```
|
|
56
|
+
Other configuration settings use their historical names (same names as in-source):
|
|
57
|
+
```
|
|
58
|
+
# Examples
|
|
59
|
+
PANDA_DISTRIBUTOR="MyDistributor"
|
|
60
|
+
LINMATH_ALIGN=YES
|
|
61
|
+
|
|
62
|
+
# ... etc ...
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
For example, `makepanda.py --distributor X` becomes `cmake -DPANDA_DISTRIBUTOR=X`
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Filename: AddBisonTarget.cmake
|
|
2
|
+
# Description: This file defines the function add_bison_target which instructs
|
|
3
|
+
# cmake to use bison on an input .yxx file. If bison is not available on
|
|
4
|
+
# the system, add_bison_target tries to use .prebuilt .cxx files instead.
|
|
5
|
+
#
|
|
6
|
+
# Usage:
|
|
7
|
+
# add_bison_target(output_cxx input_yxx [DEFINES output_h] [PREFIX prefix])
|
|
8
|
+
#
|
|
9
|
+
|
|
10
|
+
# Define add_bison_target()
|
|
11
|
+
function(add_bison_target output_cxx input_yxx)
|
|
12
|
+
set(arguments "")
|
|
13
|
+
set(outputs "${output_cxx}")
|
|
14
|
+
set(keyword "")
|
|
15
|
+
|
|
16
|
+
# Parse the extra arguments to the function.
|
|
17
|
+
foreach(arg ${ARGN})
|
|
18
|
+
if(arg STREQUAL "DEFINES")
|
|
19
|
+
set(keyword "DEFINES")
|
|
20
|
+
|
|
21
|
+
elseif(arg STREQUAL "PREFIX")
|
|
22
|
+
set(keyword "PREFIX")
|
|
23
|
+
|
|
24
|
+
elseif(keyword STREQUAL "PREFIX")
|
|
25
|
+
list(APPEND arguments -p "${arg}")
|
|
26
|
+
|
|
27
|
+
elseif(keyword STREQUAL "DEFINES")
|
|
28
|
+
list(APPEND arguments --defines="${arg}")
|
|
29
|
+
list(APPEND outputs "${arg}")
|
|
30
|
+
|
|
31
|
+
else()
|
|
32
|
+
message(SEND_ERROR "Unexpected argument ${arg} to add_bison_target")
|
|
33
|
+
|
|
34
|
+
endif()
|
|
35
|
+
endforeach()
|
|
36
|
+
|
|
37
|
+
if(keyword STREQUAL arg AND NOT keyword STREQUAL "")
|
|
38
|
+
message(SEND_ERROR "Expected argument after ${keyword}")
|
|
39
|
+
endif()
|
|
40
|
+
|
|
41
|
+
if(HAVE_BISON)
|
|
42
|
+
get_source_file_property(input_yxx "${input_yxx}" LOCATION)
|
|
43
|
+
|
|
44
|
+
# If we have bison, we can of course just run it.
|
|
45
|
+
add_custom_command(
|
|
46
|
+
OUTPUT ${outputs}
|
|
47
|
+
COMMAND ${BISON_EXECUTABLE}
|
|
48
|
+
-o "${output_cxx}" ${arguments}
|
|
49
|
+
"${input_yxx}"
|
|
50
|
+
MAIN_DEPENDENCY "${input_yxx}"
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
else()
|
|
54
|
+
# Look for prebuilt versions of the outputs.
|
|
55
|
+
set(commands "")
|
|
56
|
+
set(depends "")
|
|
57
|
+
|
|
58
|
+
foreach(output ${outputs})
|
|
59
|
+
set(prebuilt_file "${output}.prebuilt")
|
|
60
|
+
get_filename_component(prebuilt_file "${prebuilt_file}" ABSOLUTE)
|
|
61
|
+
|
|
62
|
+
if(NOT EXISTS "${prebuilt_file}")
|
|
63
|
+
message(SEND_ERROR "Bison was not found and ${prebuilt_file} does not exist!")
|
|
64
|
+
endif()
|
|
65
|
+
|
|
66
|
+
list(APPEND depends "${prebuilt_file}")
|
|
67
|
+
list(APPEND commands COMMAND ${CMAKE_COMMAND} -E copy ${prebuilt_file} ${output})
|
|
68
|
+
endforeach()
|
|
69
|
+
|
|
70
|
+
add_custom_command(
|
|
71
|
+
OUTPUT ${outputs}
|
|
72
|
+
${commands}
|
|
73
|
+
DEPENDS ${depends})
|
|
74
|
+
endif()
|
|
75
|
+
endfunction(add_bison_target)
|