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.

Files changed (512) hide show
  1. panda3d_interrogate-0.1.0/.clang-tidy +6 -0
  2. panda3d_interrogate-0.1.0/.editorconfig +22 -0
  3. panda3d_interrogate-0.1.0/.github/workflows/ci.yml +55 -0
  4. panda3d_interrogate-0.1.0/.github/workflows/release.yml +75 -0
  5. panda3d_interrogate-0.1.0/.gitignore +74 -0
  6. panda3d_interrogate-0.1.0/CMakeLists.txt +97 -0
  7. panda3d_interrogate-0.1.0/LICENSE +30 -0
  8. panda3d_interrogate-0.1.0/PKG-INFO +99 -0
  9. panda3d_interrogate-0.1.0/README.md +54 -0
  10. panda3d_interrogate-0.1.0/cmake/README.md +66 -0
  11. panda3d_interrogate-0.1.0/cmake/macros/AddBisonTarget.cmake +75 -0
  12. panda3d_interrogate-0.1.0/cmake/macros/AddFlexTarget.cmake +81 -0
  13. panda3d_interrogate-0.1.0/cmake/macros/CompositeSources.cmake +167 -0
  14. panda3d_interrogate-0.1.0/cmake/macros/PackageConfig.cmake +482 -0
  15. panda3d_interrogate-0.1.0/cmake/macros/Python.cmake +93 -0
  16. panda3d_interrogate-0.1.0/cmake/macros/README.md +9 -0
  17. panda3d_interrogate-0.1.0/cmake/scripts/ConcatenateToCXX.cmake +70 -0
  18. panda3d_interrogate-0.1.0/cmake/scripts/MakeComposite.cmake +28 -0
  19. panda3d_interrogate-0.1.0/cmake/scripts/README.md +10 -0
  20. panda3d_interrogate-0.1.0/parser-inc/AR/ar.h +0 -0
  21. panda3d_interrogate-0.1.0/parser-inc/Cg/cg.h +30 -0
  22. panda3d_interrogate-0.1.0/parser-inc/Cg/cgGL.h +23 -0
  23. panda3d_interrogate-0.1.0/parser-inc/Eigen/Dense +5 -0
  24. panda3d_interrogate-0.1.0/parser-inc/Eigen/StdVector +6 -0
  25. panda3d_interrogate-0.1.0/parser-inc/Forest/Forest.h +8 -0
  26. panda3d_interrogate-0.1.0/parser-inc/Max.h +23 -0
  27. panda3d_interrogate-0.1.0/parser-inc/NxBoxController.h +27 -0
  28. panda3d_interrogate-0.1.0/parser-inc/NxCapsuleController.h +27 -0
  29. panda3d_interrogate-0.1.0/parser-inc/NxController.h +29 -0
  30. panda3d_interrogate-0.1.0/parser-inc/NxControllerManager.h +24 -0
  31. panda3d_interrogate-0.1.0/parser-inc/NxCooking.h +24 -0
  32. panda3d_interrogate-0.1.0/parser-inc/NxExtended.h +24 -0
  33. panda3d_interrogate-0.1.0/parser-inc/NxPhysics.h +156 -0
  34. panda3d_interrogate-0.1.0/parser-inc/NxStream.h +24 -0
  35. panda3d_interrogate-0.1.0/parser-inc/OVR.h +16 -0
  36. panda3d_interrogate-0.1.0/parser-inc/Python.h +55 -0
  37. panda3d_interrogate-0.1.0/parser-inc/README +5 -0
  38. panda3d_interrogate-0.1.0/parser-inc/Renderers/OpenGL/DirectX9Renderer.h +7 -0
  39. panda3d_interrogate-0.1.0/parser-inc/Renderers/OpenGL/OpenGLRenderer.h +7 -0
  40. panda3d_interrogate-0.1.0/parser-inc/WebCore.h +3 -0
  41. panda3d_interrogate-0.1.0/parser-inc/WebView.h +5 -0
  42. panda3d_interrogate-0.1.0/parser-inc/WebViewListener.h +4 -0
  43. panda3d_interrogate-0.1.0/parser-inc/XInput.h +5 -0
  44. panda3d_interrogate-0.1.0/parser-inc/algorithm +31 -0
  45. panda3d_interrogate-0.1.0/parser-inc/alloca.h +0 -0
  46. panda3d_interrogate-0.1.0/parser-inc/android/asset_manager.h +2 -0
  47. panda3d_interrogate-0.1.0/parser-inc/android/log.h +10 -0
  48. panda3d_interrogate-0.1.0/parser-inc/ar.h +0 -0
  49. panda3d_interrogate-0.1.0/parser-inc/arpa/inet.h +4 -0
  50. panda3d_interrogate-0.1.0/parser-inc/artools.h +0 -0
  51. panda3d_interrogate-0.1.0/parser-inc/assert.h +6 -0
  52. panda3d_interrogate-0.1.0/parser-inc/atomic +65 -0
  53. panda3d_interrogate-0.1.0/parser-inc/avcodec.h +8 -0
  54. panda3d_interrogate-0.1.0/parser-inc/avformat.h +6 -0
  55. panda3d_interrogate-0.1.0/parser-inc/avio.h +8 -0
  56. panda3d_interrogate-0.1.0/parser-inc/avutil.h +4 -0
  57. panda3d_interrogate-0.1.0/parser-inc/bit +9 -0
  58. panda3d_interrogate-0.1.0/parser-inc/btBulletDynamicsCommon.h +138 -0
  59. panda3d_interrogate-0.1.0/parser-inc/cassert +1 -0
  60. panda3d_interrogate-0.1.0/parser-inc/cerrno +1 -0
  61. panda3d_interrogate-0.1.0/parser-inc/cfloat +1 -0
  62. panda3d_interrogate-0.1.0/parser-inc/clocale +1 -0
  63. panda3d_interrogate-0.1.0/parser-inc/cmath +4 -0
  64. panda3d_interrogate-0.1.0/parser-inc/collision_trimesh.h +1 -0
  65. panda3d_interrogate-0.1.0/parser-inc/compare +23 -0
  66. panda3d_interrogate-0.1.0/parser-inc/condition_variable +11 -0
  67. panda3d_interrogate-0.1.0/parser-inc/control.h +10 -0
  68. panda3d_interrogate-0.1.0/parser-inc/coroutine +31 -0
  69. panda3d_interrogate-0.1.0/parser-inc/csetjmp +5 -0
  70. panda3d_interrogate-0.1.0/parser-inc/cstdarg +5 -0
  71. panda3d_interrogate-0.1.0/parser-inc/cstddef +7 -0
  72. panda3d_interrogate-0.1.0/parser-inc/cstdint +1 -0
  73. panda3d_interrogate-0.1.0/parser-inc/cstdio +1 -0
  74. panda3d_interrogate-0.1.0/parser-inc/cstdlib +21 -0
  75. panda3d_interrogate-0.1.0/parser-inc/cstring +1 -0
  76. panda3d_interrogate-0.1.0/parser-inc/ctime +1 -0
  77. panda3d_interrogate-0.1.0/parser-inc/ctype.h +0 -0
  78. panda3d_interrogate-0.1.0/parser-inc/cv.h +8 -0
  79. panda3d_interrogate-0.1.0/parser-inc/cvtypes.h +13 -0
  80. panda3d_interrogate-0.1.0/parser-inc/cwchar +8 -0
  81. panda3d_interrogate-0.1.0/parser-inc/cxcore.h +6 -0
  82. panda3d_interrogate-0.1.0/parser-inc/cxerror.h +7 -0
  83. panda3d_interrogate-0.1.0/parser-inc/cxtypes.h +78 -0
  84. panda3d_interrogate-0.1.0/parser-inc/deque +43 -0
  85. panda3d_interrogate-0.1.0/parser-inc/dirent.h +3 -0
  86. panda3d_interrogate-0.1.0/parser-inc/dllpath.h +6 -0
  87. panda3d_interrogate-0.1.0/parser-inc/emscripten/em_asm.h +13 -0
  88. panda3d_interrogate-0.1.0/parser-inc/emscripten/em_js.h +3 -0
  89. panda3d_interrogate-0.1.0/parser-inc/emscripten/emscripten.h +24 -0
  90. panda3d_interrogate-0.1.0/parser-inc/emscripten/fiber.h +7 -0
  91. panda3d_interrogate-0.1.0/parser-inc/emscripten/trace.h +0 -0
  92. panda3d_interrogate-0.1.0/parser-inc/emscripten.h +1 -0
  93. panda3d_interrogate-0.1.0/parser-inc/errno.h +7 -0
  94. panda3d_interrogate-0.1.0/parser-inc/event.h +0 -0
  95. panda3d_interrogate-0.1.0/parser-inc/exception +10 -0
  96. panda3d_interrogate-0.1.0/parser-inc/fcntl.h +7 -0
  97. panda3d_interrogate-0.1.0/parser-inc/fftw3.h +14 -0
  98. panda3d_interrogate-0.1.0/parser-inc/files.h +27 -0
  99. panda3d_interrogate-0.1.0/parser-inc/float.h +18 -0
  100. panda3d_interrogate-0.1.0/parser-inc/forward_list +9 -0
  101. panda3d_interrogate-0.1.0/parser-inc/fstream +1 -0
  102. panda3d_interrogate-0.1.0/parser-inc/ft2build.h +35 -0
  103. panda3d_interrogate-0.1.0/parser-inc/functional +153 -0
  104. panda3d_interrogate-0.1.0/parser-inc/future +27 -0
  105. panda3d_interrogate-0.1.0/parser-inc/glew/glew.h +0 -0
  106. panda3d_interrogate-0.1.0/parser-inc/hash_map +55 -0
  107. panda3d_interrogate-0.1.0/parser-inc/hash_set +55 -0
  108. panda3d_interrogate-0.1.0/parser-inc/hex.h +22 -0
  109. panda3d_interrogate-0.1.0/parser-inc/highgui.h +5 -0
  110. panda3d_interrogate-0.1.0/parser-inc/initializer_list +36 -0
  111. panda3d_interrogate-0.1.0/parser-inc/integer.h +29 -0
  112. panda3d_interrogate-0.1.0/parser-inc/intfloat_readwrite.h +6 -0
  113. panda3d_interrogate-0.1.0/parser-inc/inttypes.h +1 -0
  114. panda3d_interrogate-0.1.0/parser-inc/io.h +0 -0
  115. panda3d_interrogate-0.1.0/parser-inc/iomanip +6 -0
  116. panda3d_interrogate-0.1.0/parser-inc/ios +112 -0
  117. panda3d_interrogate-0.1.0/parser-inc/iosfwd +77 -0
  118. panda3d_interrogate-0.1.0/parser-inc/iostream +103 -0
  119. panda3d_interrogate-0.1.0/parser-inc/iparamb2.h +23 -0
  120. panda3d_interrogate-0.1.0/parser-inc/iparamm2.h +23 -0
  121. panda3d_interrogate-0.1.0/parser-inc/iskin.h +23 -0
  122. panda3d_interrogate-0.1.0/parser-inc/istdplug.h +23 -0
  123. panda3d_interrogate-0.1.0/parser-inc/iterator +74 -0
  124. panda3d_interrogate-0.1.0/parser-inc/jni.h +39 -0
  125. panda3d_interrogate-0.1.0/parser-inc/krb5.h +29 -0
  126. panda3d_interrogate-0.1.0/parser-inc/libavcodec/avcodec.h +8 -0
  127. panda3d_interrogate-0.1.0/parser-inc/libavformat/avformat.h +6 -0
  128. panda3d_interrogate-0.1.0/parser-inc/libavformat/avio.h +8 -0
  129. panda3d_interrogate-0.1.0/parser-inc/libavutil/avutil.h +4 -0
  130. panda3d_interrogate-0.1.0/parser-inc/libswscale/swscale.h +3 -0
  131. panda3d_interrogate-0.1.0/parser-inc/limits +5 -0
  132. panda3d_interrogate-0.1.0/parser-inc/limits.h +39 -0
  133. panda3d_interrogate-0.1.0/parser-inc/list +46 -0
  134. panda3d_interrogate-0.1.0/parser-inc/locale.h +9 -0
  135. panda3d_interrogate-0.1.0/parser-inc/malloc.h +13 -0
  136. panda3d_interrogate-0.1.0/parser-inc/map +57 -0
  137. panda3d_interrogate-0.1.0/parser-inc/math.h +13 -0
  138. panda3d_interrogate-0.1.0/parser-inc/mathematics.h +7 -0
  139. panda3d_interrogate-0.1.0/parser-inc/memory +190 -0
  140. panda3d_interrogate-0.1.0/parser-inc/minmax.h +0 -0
  141. panda3d_interrogate-0.1.0/parser-inc/mmsystem.h +23 -0
  142. panda3d_interrogate-0.1.0/parser-inc/netdb.h +9 -0
  143. panda3d_interrogate-0.1.0/parser-inc/netinet/in.h +17 -0
  144. panda3d_interrogate-0.1.0/parser-inc/netinet/ip.h +17 -0
  145. panda3d_interrogate-0.1.0/parser-inc/netinet/tcp.h +17 -0
  146. panda3d_interrogate-0.1.0/parser-inc/new +23 -0
  147. panda3d_interrogate-0.1.0/parser-inc/nurbs.hh +27 -0
  148. panda3d_interrogate-0.1.0/parser-inc/ode/ode.h +93 -0
  149. panda3d_interrogate-0.1.0/parser-inc/ode.h +91 -0
  150. panda3d_interrogate-0.1.0/parser-inc/ogg/ogg.h +14 -0
  151. panda3d_interrogate-0.1.0/parser-inc/ogg/os_types.h +16 -0
  152. panda3d_interrogate-0.1.0/parser-inc/opencv2/highgui/highgui.hpp +0 -0
  153. panda3d_interrogate-0.1.0/parser-inc/openssl/crypto.h +0 -0
  154. panda3d_interrogate-0.1.0/parser-inc/openssl/err.h +0 -0
  155. panda3d_interrogate-0.1.0/parser-inc/openssl/evp.h +7 -0
  156. panda3d_interrogate-0.1.0/parser-inc/openssl/md5.h +17 -0
  157. panda3d_interrogate-0.1.0/parser-inc/openssl/pem.h +0 -0
  158. panda3d_interrogate-0.1.0/parser-inc/openssl/rand.h +0 -0
  159. panda3d_interrogate-0.1.0/parser-inc/openssl/rsa.h +0 -0
  160. panda3d_interrogate-0.1.0/parser-inc/openssl/ssl.h +16 -0
  161. panda3d_interrogate-0.1.0/parser-inc/openssl/x509.h +8 -0
  162. panda3d_interrogate-0.1.0/parser-inc/openssl/x509v3.h +0 -0
  163. panda3d_interrogate-0.1.0/parser-inc/opus/opus.h +6 -0
  164. panda3d_interrogate-0.1.0/parser-inc/opus/opus_types.h +19 -0
  165. panda3d_interrogate-0.1.0/parser-inc/opus/opusfile.h +8 -0
  166. panda3d_interrogate-0.1.0/parser-inc/os_types.h +16 -0
  167. panda3d_interrogate-0.1.0/parser-inc/ostream +14 -0
  168. panda3d_interrogate-0.1.0/parser-inc/pair +31 -0
  169. panda3d_interrogate-0.1.0/parser-inc/phyexp.h +23 -0
  170. panda3d_interrogate-0.1.0/parser-inc/process.h +0 -0
  171. panda3d_interrogate-0.1.0/parser-inc/pthread.h +27 -0
  172. panda3d_interrogate-0.1.0/parser-inc/pthreadtypes.h +0 -0
  173. panda3d_interrogate-0.1.0/parser-inc/py_panda.h +13 -0
  174. panda3d_interrogate-0.1.0/parser-inc/pyconfig.h +0 -0
  175. panda3d_interrogate-0.1.0/parser-inc/queue +61 -0
  176. panda3d_interrogate-0.1.0/parser-inc/rational.h +31 -0
  177. panda3d_interrogate-0.1.0/parser-inc/rtp.h +22 -0
  178. panda3d_interrogate-0.1.0/parser-inc/rtsp.h +22 -0
  179. panda3d_interrogate-0.1.0/parser-inc/rtspcodes.h +11 -0
  180. panda3d_interrogate-0.1.0/parser-inc/semaphore.h +6 -0
  181. panda3d_interrogate-0.1.0/parser-inc/set +51 -0
  182. panda3d_interrogate-0.1.0/parser-inc/setjmp.h +24 -0
  183. panda3d_interrogate-0.1.0/parser-inc/shared_mutex +7 -0
  184. panda3d_interrogate-0.1.0/parser-inc/signal.h +21 -0
  185. panda3d_interrogate-0.1.0/parser-inc/squish.h +9 -0
  186. panda3d_interrogate-0.1.0/parser-inc/sstream +23 -0
  187. panda3d_interrogate-0.1.0/parser-inc/stack +43 -0
  188. panda3d_interrogate-0.1.0/parser-inc/stdarg.h +6 -0
  189. panda3d_interrogate-0.1.0/parser-inc/stdcompare.h +33 -0
  190. panda3d_interrogate-0.1.0/parser-inc/stddef.h +27 -0
  191. panda3d_interrogate-0.1.0/parser-inc/stdint.h +64 -0
  192. panda3d_interrogate-0.1.0/parser-inc/stdio.h +12 -0
  193. panda3d_interrogate-0.1.0/parser-inc/stdlib.h +6 -0
  194. panda3d_interrogate-0.1.0/parser-inc/stdmat.h +23 -0
  195. panda3d_interrogate-0.1.0/parser-inc/stdtypedefs.h +50 -0
  196. panda3d_interrogate-0.1.0/parser-inc/streambuf +14 -0
  197. panda3d_interrogate-0.1.0/parser-inc/string +101 -0
  198. panda3d_interrogate-0.1.0/parser-inc/string.h +1 -0
  199. panda3d_interrogate-0.1.0/parser-inc/swscale.h +3 -0
  200. panda3d_interrogate-0.1.0/parser-inc/synchapi.h +12 -0
  201. panda3d_interrogate-0.1.0/parser-inc/sys/inotify.h +1 -0
  202. panda3d_interrogate-0.1.0/parser-inc/sys/ioctl.h +3 -0
  203. panda3d_interrogate-0.1.0/parser-inc/sys/malloc.h +0 -0
  204. panda3d_interrogate-0.1.0/parser-inc/sys/mman.h +3 -0
  205. panda3d_interrogate-0.1.0/parser-inc/sys/select.h +1 -0
  206. panda3d_interrogate-0.1.0/parser-inc/sys/socket.h +18 -0
  207. panda3d_interrogate-0.1.0/parser-inc/sys/stat.h +8 -0
  208. panda3d_interrogate-0.1.0/parser-inc/sys/sysctl.h +15 -0
  209. panda3d_interrogate-0.1.0/parser-inc/sys/sysinfo.h +1 -0
  210. panda3d_interrogate-0.1.0/parser-inc/sys/time.h +5 -0
  211. panda3d_interrogate-0.1.0/parser-inc/sys/timeb.h +0 -0
  212. panda3d_interrogate-0.1.0/parser-inc/sys/types.h +17 -0
  213. panda3d_interrogate-0.1.0/parser-inc/thread +21 -0
  214. panda3d_interrogate-0.1.0/parser-inc/time.h +8 -0
  215. panda3d_interrogate-0.1.0/parser-inc/type_traits +118 -0
  216. panda3d_interrogate-0.1.0/parser-inc/typeinfo +22 -0
  217. panda3d_interrogate-0.1.0/parser-inc/ucontext.h +14 -0
  218. panda3d_interrogate-0.1.0/parser-inc/unistd.h +10 -0
  219. panda3d_interrogate-0.1.0/parser-inc/unordered_map +85 -0
  220. panda3d_interrogate-0.1.0/parser-inc/unordered_set +84 -0
  221. panda3d_interrogate-0.1.0/parser-inc/utility +16 -0
  222. panda3d_interrogate-0.1.0/parser-inc/vector +51 -0
  223. panda3d_interrogate-0.1.0/parser-inc/vorbis/codec.h +1 -0
  224. panda3d_interrogate-0.1.0/parser-inc/vorbis/vorbisfile.h +9 -0
  225. panda3d_interrogate-0.1.0/parser-inc/vorbisfile.h +1 -0
  226. panda3d_interrogate-0.1.0/parser-inc/vrpn_Analog.h +4 -0
  227. panda3d_interrogate-0.1.0/parser-inc/vrpn_Button.h +4 -0
  228. panda3d_interrogate-0.1.0/parser-inc/vrpn_Configure.h +3 -0
  229. panda3d_interrogate-0.1.0/parser-inc/vrpn_Connection.h +3 -0
  230. panda3d_interrogate-0.1.0/parser-inc/vrpn_Dial.h +4 -0
  231. panda3d_interrogate-0.1.0/parser-inc/vrpn_Tracker.h +6 -0
  232. panda3d_interrogate-0.1.0/parser-inc/windows.h +83 -0
  233. panda3d_interrogate-0.1.0/parser-inc/winnt.h +18 -0
  234. panda3d_interrogate-0.1.0/parser-inc/winsock.h +3 -0
  235. panda3d_interrogate-0.1.0/parser-inc/winsock2.h +14 -0
  236. panda3d_interrogate-0.1.0/parser-inc/ws2tcpip.h +1 -0
  237. panda3d_interrogate-0.1.0/parser-inc/wtypes.h +28 -0
  238. panda3d_interrogate-0.1.0/parser-inc/xmmintrin.h +1 -0
  239. panda3d_interrogate-0.1.0/parser-inc/zconf.h +19 -0
  240. panda3d_interrogate-0.1.0/parser-inc/zlib.h +28 -0
  241. panda3d_interrogate-0.1.0/pyproject.toml +64 -0
  242. panda3d_interrogate-0.1.0/python/interrogate/__init__.py +14 -0
  243. panda3d_interrogate-0.1.0/python/interrogate/__main__.py +3 -0
  244. panda3d_interrogate-0.1.0/python/interrogate_module/__init__.py +14 -0
  245. panda3d_interrogate-0.1.0/python/interrogate_module/__main__.py +3 -0
  246. panda3d_interrogate-0.1.0/src/CMakeLists.txt +7 -0
  247. panda3d_interrogate-0.1.0/src/CompilerFlags.cmake +242 -0
  248. panda3d_interrogate-0.1.0/src/Config.cmake +219 -0
  249. panda3d_interrogate-0.1.0/src/LocalSetup.cmake +56 -0
  250. panda3d_interrogate-0.1.0/src/cppparser/CMakeLists.txt +47 -0
  251. panda3d_interrogate-0.1.0/src/cppparser/cppArrayType.cxx +269 -0
  252. panda3d_interrogate-0.1.0/src/cppparser/cppArrayType.h +65 -0
  253. panda3d_interrogate-0.1.0/src/cppparser/cppAttributeList.cxx +196 -0
  254. panda3d_interrogate-0.1.0/src/cppparser/cppAttributeList.h +66 -0
  255. panda3d_interrogate-0.1.0/src/cppparser/cppBison.cxx.prebuilt +10080 -0
  256. panda3d_interrogate-0.1.0/src/cppparser/cppBison.h.prebuilt +394 -0
  257. panda3d_interrogate-0.1.0/src/cppparser/cppBison.yxx +4455 -0
  258. panda3d_interrogate-0.1.0/src/cppparser/cppBisonDefs.h +124 -0
  259. panda3d_interrogate-0.1.0/src/cppparser/cppClassTemplateParameter.cxx +126 -0
  260. panda3d_interrogate-0.1.0/src/cppparser/cppClassTemplateParameter.h +47 -0
  261. panda3d_interrogate-0.1.0/src/cppparser/cppClosureType.cxx +200 -0
  262. panda3d_interrogate-0.1.0/src/cppparser/cppClosureType.h +65 -0
  263. panda3d_interrogate-0.1.0/src/cppparser/cppCommentBlock.cxx +14 -0
  264. panda3d_interrogate-0.1.0/src/cppparser/cppCommentBlock.h +41 -0
  265. panda3d_interrogate-0.1.0/src/cppparser/cppConstType.cxx +240 -0
  266. panda3d_interrogate-0.1.0/src/cppparser/cppConstType.h +66 -0
  267. panda3d_interrogate-0.1.0/src/cppparser/cppDeclaration.cxx +379 -0
  268. panda3d_interrogate-0.1.0/src/cppparser/cppDeclaration.h +240 -0
  269. panda3d_interrogate-0.1.0/src/cppparser/cppEnumType.cxx +328 -0
  270. panda3d_interrogate-0.1.0/src/cppparser/cppEnumType.h +71 -0
  271. panda3d_interrogate-0.1.0/src/cppparser/cppExpression.cxx +2450 -0
  272. panda3d_interrogate-0.1.0/src/cppparser/cppExpression.h +203 -0
  273. panda3d_interrogate-0.1.0/src/cppparser/cppExpressionParser.cxx +77 -0
  274. panda3d_interrogate-0.1.0/src/cppparser/cppExpressionParser.h +48 -0
  275. panda3d_interrogate-0.1.0/src/cppparser/cppExtensionType.cxx +281 -0
  276. panda3d_interrogate-0.1.0/src/cppparser/cppExtensionType.h +81 -0
  277. panda3d_interrogate-0.1.0/src/cppparser/cppFile.cxx +144 -0
  278. panda3d_interrogate-0.1.0/src/cppparser/cppFile.h +63 -0
  279. panda3d_interrogate-0.1.0/src/cppparser/cppFunctionGroup.cxx +92 -0
  280. panda3d_interrogate-0.1.0/src/cppparser/cppFunctionGroup.h +47 -0
  281. panda3d_interrogate-0.1.0/src/cppparser/cppFunctionType.cxx +463 -0
  282. panda3d_interrogate-0.1.0/src/cppparser/cppFunctionType.h +101 -0
  283. panda3d_interrogate-0.1.0/src/cppparser/cppGlobals.cxx +16 -0
  284. panda3d_interrogate-0.1.0/src/cppparser/cppGlobals.h +26 -0
  285. panda3d_interrogate-0.1.0/src/cppparser/cppIdentifier.cxx +612 -0
  286. panda3d_interrogate-0.1.0/src/cppparser/cppIdentifier.h +106 -0
  287. panda3d_interrogate-0.1.0/src/cppparser/cppInstance.cxx +637 -0
  288. panda3d_interrogate-0.1.0/src/cppparser/cppInstance.h +138 -0
  289. panda3d_interrogate-0.1.0/src/cppparser/cppInstanceIdentifier.cxx +345 -0
  290. panda3d_interrogate-0.1.0/src/cppparser/cppInstanceIdentifier.h +115 -0
  291. panda3d_interrogate-0.1.0/src/cppparser/cppMakeProperty.cxx +122 -0
  292. panda3d_interrogate-0.1.0/src/cppparser/cppMakeProperty.h +116 -0
  293. panda3d_interrogate-0.1.0/src/cppparser/cppMakeSeq.cxx +81 -0
  294. panda3d_interrogate-0.1.0/src/cppparser/cppMakeSeq.h +50 -0
  295. panda3d_interrogate-0.1.0/src/cppparser/cppManifest.cxx +672 -0
  296. panda3d_interrogate-0.1.0/src/cppparser/cppManifest.h +100 -0
  297. panda3d_interrogate-0.1.0/src/cppparser/cppNameComponent.cxx +167 -0
  298. panda3d_interrogate-0.1.0/src/cppparser/cppNameComponent.h +56 -0
  299. panda3d_interrogate-0.1.0/src/cppparser/cppNamespace.cxx +116 -0
  300. panda3d_interrogate-0.1.0/src/cppparser/cppNamespace.h +52 -0
  301. panda3d_interrogate-0.1.0/src/cppparser/cppParameterList.cxx +239 -0
  302. panda3d_interrogate-0.1.0/src/cppparser/cppParameterList.h +66 -0
  303. panda3d_interrogate-0.1.0/src/cppparser/cppParser.cxx +93 -0
  304. panda3d_interrogate-0.1.0/src/cppparser/cppParser.h +52 -0
  305. panda3d_interrogate-0.1.0/src/cppparser/cppPointerType.cxx +308 -0
  306. panda3d_interrogate-0.1.0/src/cppparser/cppPointerType.h +64 -0
  307. panda3d_interrogate-0.1.0/src/cppparser/cppPreprocessor.cxx +3296 -0
  308. panda3d_interrogate-0.1.0/src/cppparser/cppPreprocessor.h +235 -0
  309. panda3d_interrogate-0.1.0/src/cppparser/cppReferenceType.cxx +296 -0
  310. panda3d_interrogate-0.1.0/src/cppparser/cppReferenceType.h +70 -0
  311. panda3d_interrogate-0.1.0/src/cppparser/cppScope.cxx +1191 -0
  312. panda3d_interrogate-0.1.0/src/cppparser/cppScope.h +165 -0
  313. panda3d_interrogate-0.1.0/src/cppparser/cppSimpleType.cxx +290 -0
  314. panda3d_interrogate-0.1.0/src/cppparser/cppSimpleType.h +100 -0
  315. panda3d_interrogate-0.1.0/src/cppparser/cppStructType.cxx +1546 -0
  316. panda3d_interrogate-0.1.0/src/cppparser/cppStructType.h +132 -0
  317. panda3d_interrogate-0.1.0/src/cppparser/cppTBDType.cxx +175 -0
  318. panda3d_interrogate-0.1.0/src/cppparser/cppTBDType.h +62 -0
  319. panda3d_interrogate-0.1.0/src/cppparser/cppTemplateParameterList.cxx +234 -0
  320. panda3d_interrogate-0.1.0/src/cppparser/cppTemplateParameterList.h +76 -0
  321. panda3d_interrogate-0.1.0/src/cppparser/cppTemplateScope.cxx +172 -0
  322. panda3d_interrogate-0.1.0/src/cppparser/cppTemplateScope.h +58 -0
  323. panda3d_interrogate-0.1.0/src/cppparser/cppToken.cxx +1327 -0
  324. panda3d_interrogate-0.1.0/src/cppparser/cppToken.h +51 -0
  325. panda3d_interrogate-0.1.0/src/cppparser/cppType.cxx +535 -0
  326. panda3d_interrogate-0.1.0/src/cppparser/cppType.h +115 -0
  327. panda3d_interrogate-0.1.0/src/cppparser/cppTypeDeclaration.cxx +67 -0
  328. panda3d_interrogate-0.1.0/src/cppparser/cppTypeDeclaration.h +41 -0
  329. panda3d_interrogate-0.1.0/src/cppparser/cppTypeParser.cxx +77 -0
  330. panda3d_interrogate-0.1.0/src/cppparser/cppTypeParser.h +48 -0
  331. panda3d_interrogate-0.1.0/src/cppparser/cppTypeProxy.cxx +319 -0
  332. panda3d_interrogate-0.1.0/src/cppparser/cppTypeProxy.h +71 -0
  333. panda3d_interrogate-0.1.0/src/cppparser/cppTypedefType.cxx +471 -0
  334. panda3d_interrogate-0.1.0/src/cppparser/cppTypedefType.h +92 -0
  335. panda3d_interrogate-0.1.0/src/cppparser/cppUsing.cxx +53 -0
  336. panda3d_interrogate-0.1.0/src/cppparser/cppUsing.h +41 -0
  337. panda3d_interrogate-0.1.0/src/cppparser/cppVisibility.cxx +36 -0
  338. panda3d_interrogate-0.1.0/src/cppparser/cppVisibility.h +30 -0
  339. panda3d_interrogate-0.1.0/src/dtoolbase/CMakeLists.txt +29 -0
  340. panda3d_interrogate-0.1.0/src/dtoolbase/dtoolbase.cxx +23 -0
  341. panda3d_interrogate-0.1.0/src/dtoolbase/dtoolbase.h +315 -0
  342. panda3d_interrogate-0.1.0/src/dtoolbase/dtoolbase_cc.h +151 -0
  343. panda3d_interrogate-0.1.0/src/dtoolbase/dtoolsymbols.h +98 -0
  344. panda3d_interrogate-0.1.0/src/dtoolbase/indent.I +61 -0
  345. panda3d_interrogate-0.1.0/src/dtoolbase/indent.cxx +25 -0
  346. panda3d_interrogate-0.1.0/src/dtoolbase/indent.h +44 -0
  347. panda3d_interrogate-0.1.0/src/dtoolbase/pdtoa.cxx +454 -0
  348. panda3d_interrogate-0.1.0/src/dtoolbase/pdtoa.h +24 -0
  349. panda3d_interrogate-0.1.0/src/dtoolbase/pstrtod.cxx +161 -0
  350. panda3d_interrogate-0.1.0/src/dtoolbase/pstrtod.h +33 -0
  351. panda3d_interrogate-0.1.0/src/dtoolbase/select.tau +4 -0
  352. panda3d_interrogate-0.1.0/src/dtoolbase/test_strtod.cxx +35 -0
  353. panda3d_interrogate-0.1.0/src/dtoolutil/CMakeLists.txt +87 -0
  354. panda3d_interrogate-0.1.0/src/dtoolutil/dSearchPath.I +55 -0
  355. panda3d_interrogate-0.1.0/src/dtoolutil/dSearchPath.cxx +365 -0
  356. panda3d_interrogate-0.1.0/src/dtoolutil/dSearchPath.h +103 -0
  357. panda3d_interrogate-0.1.0/src/dtoolutil/filename.I +640 -0
  358. panda3d_interrogate-0.1.0/src/dtoolutil/filename.cxx +2557 -0
  359. panda3d_interrogate-0.1.0/src/dtoolutil/filename.h +254 -0
  360. panda3d_interrogate-0.1.0/src/dtoolutil/filename_assist.h +30 -0
  361. panda3d_interrogate-0.1.0/src/dtoolutil/filename_assist.mm +130 -0
  362. panda3d_interrogate-0.1.0/src/dtoolutil/globPattern.I +133 -0
  363. panda3d_interrogate-0.1.0/src/dtoolutil/globPattern.cxx +493 -0
  364. panda3d_interrogate-0.1.0/src/dtoolutil/globPattern.h +90 -0
  365. panda3d_interrogate-0.1.0/src/dtoolutil/lineStream.I +50 -0
  366. panda3d_interrogate-0.1.0/src/dtoolutil/lineStream.cxx +14 -0
  367. panda3d_interrogate-0.1.0/src/dtoolutil/lineStream.h +49 -0
  368. panda3d_interrogate-0.1.0/src/dtoolutil/lineStreamBuf.I +39 -0
  369. panda3d_interrogate-0.1.0/src/dtoolutil/lineStreamBuf.cxx +95 -0
  370. panda3d_interrogate-0.1.0/src/dtoolutil/lineStreamBuf.h +48 -0
  371. panda3d_interrogate-0.1.0/src/dtoolutil/load_dso.cxx +142 -0
  372. panda3d_interrogate-0.1.0/src/dtoolutil/load_dso.h +41 -0
  373. panda3d_interrogate-0.1.0/src/dtoolutil/panda_getopt.h +31 -0
  374. panda3d_interrogate-0.1.0/src/dtoolutil/panda_getopt_impl.cxx +512 -0
  375. panda3d_interrogate-0.1.0/src/dtoolutil/panda_getopt_impl.h +74 -0
  376. panda3d_interrogate-0.1.0/src/dtoolutil/panda_getopt_long.h +33 -0
  377. panda3d_interrogate-0.1.0/src/dtoolutil/preprocess_argv.cxx +48 -0
  378. panda3d_interrogate-0.1.0/src/dtoolutil/preprocess_argv.h +22 -0
  379. panda3d_interrogate-0.1.0/src/dtoolutil/stringDecoder.I +57 -0
  380. panda3d_interrogate-0.1.0/src/dtoolutil/stringDecoder.cxx +221 -0
  381. panda3d_interrogate-0.1.0/src/dtoolutil/stringDecoder.h +70 -0
  382. panda3d_interrogate-0.1.0/src/dtoolutil/string_utils.I +103 -0
  383. panda3d_interrogate-0.1.0/src/dtoolutil/string_utils.cxx +382 -0
  384. panda3d_interrogate-0.1.0/src/dtoolutil/string_utils.h +79 -0
  385. panda3d_interrogate-0.1.0/src/dtoolutil/test_touch.cxx +30 -0
  386. panda3d_interrogate-0.1.0/src/dtoolutil/textEncoder.I +485 -0
  387. panda3d_interrogate-0.1.0/src/dtoolutil/textEncoder.cxx +441 -0
  388. panda3d_interrogate-0.1.0/src/dtoolutil/textEncoder.h +141 -0
  389. panda3d_interrogate-0.1.0/src/dtoolutil/unicodeLatinMap.cxx +1429 -0
  390. panda3d_interrogate-0.1.0/src/dtoolutil/unicodeLatinMap.h +140 -0
  391. panda3d_interrogate-0.1.0/src/dtoolutil/vector_string.cxx +14 -0
  392. panda3d_interrogate-0.1.0/src/dtoolutil/vector_string.h +22 -0
  393. panda3d_interrogate-0.1.0/src/dtoolutil/vector_uchar.cxx +14 -0
  394. panda3d_interrogate-0.1.0/src/dtoolutil/vector_uchar.h +21 -0
  395. panda3d_interrogate-0.1.0/src/dtoolutil/win32ArgParser.cxx +333 -0
  396. panda3d_interrogate-0.1.0/src/dtoolutil/win32ArgParser.h +62 -0
  397. panda3d_interrogate-0.1.0/src/interrogate/CMakeLists.txt +128 -0
  398. panda3d_interrogate-0.1.0/src/interrogate/README.md +28 -0
  399. panda3d_interrogate-0.1.0/src/interrogate/functionRemap.cxx +1030 -0
  400. panda3d_interrogate-0.1.0/src/interrogate/functionRemap.h +150 -0
  401. panda3d_interrogate-0.1.0/src/interrogate/functionWriter.cxx +76 -0
  402. panda3d_interrogate-0.1.0/src/interrogate/functionWriter.h +39 -0
  403. panda3d_interrogate-0.1.0/src/interrogate/functionWriterPtrFromPython.cxx +100 -0
  404. panda3d_interrogate-0.1.0/src/interrogate/functionWriterPtrFromPython.h +41 -0
  405. panda3d_interrogate-0.1.0/src/interrogate/functionWriterPtrToPython.cxx +80 -0
  406. panda3d_interrogate-0.1.0/src/interrogate/functionWriterPtrToPython.h +39 -0
  407. panda3d_interrogate-0.1.0/src/interrogate/functionWriters.cxx +76 -0
  408. panda3d_interrogate-0.1.0/src/interrogate/functionWriters.h +49 -0
  409. panda3d_interrogate-0.1.0/src/interrogate/interfaceMaker.cxx +968 -0
  410. panda3d_interrogate-0.1.0/src/interrogate/interfaceMaker.h +215 -0
  411. panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerC.cxx +253 -0
  412. panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerC.h +57 -0
  413. panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPython.cxx +71 -0
  414. panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPython.h +39 -0
  415. panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPythonNative.cxx +8739 -0
  416. panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPythonNative.h +232 -0
  417. panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPythonObj.cxx +658 -0
  418. panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPythonObj.h +70 -0
  419. panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPythonSimple.cxx +535 -0
  420. panda3d_interrogate-0.1.0/src/interrogate/interfaceMakerPythonSimple.h +64 -0
  421. panda3d_interrogate-0.1.0/src/interrogate/interrogate.cxx +638 -0
  422. panda3d_interrogate-0.1.0/src/interrogate/interrogate.h +50 -0
  423. panda3d_interrogate-0.1.0/src/interrogate/interrogateBuilder.cxx +3215 -0
  424. panda3d_interrogate-0.1.0/src/interrogate/interrogateBuilder.h +167 -0
  425. panda3d_interrogate-0.1.0/src/interrogate/interrogate_module.cxx +624 -0
  426. panda3d_interrogate-0.1.0/src/interrogate/parameterRemap.I +89 -0
  427. panda3d_interrogate-0.1.0/src/interrogate/parameterRemap.cxx +118 -0
  428. panda3d_interrogate-0.1.0/src/interrogate/parameterRemap.h +72 -0
  429. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapBasicStringPtrToString.cxx +83 -0
  430. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapBasicStringPtrToString.h +43 -0
  431. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapBasicStringRefToString.cxx +83 -0
  432. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapBasicStringRefToString.h +43 -0
  433. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapBasicStringToString.cxx +111 -0
  434. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapBasicStringToString.h +47 -0
  435. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapCharStarToString.cxx +32 -0
  436. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapCharStarToString.h +37 -0
  437. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapConcreteToPointer.cxx +91 -0
  438. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapConcreteToPointer.h +36 -0
  439. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapConstToNonConst.cxx +45 -0
  440. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapConstToNonConst.h +34 -0
  441. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapEnumToInt.cxx +70 -0
  442. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapEnumToInt.h +38 -0
  443. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapHandleToInt.cxx +56 -0
  444. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapHandleToInt.h +37 -0
  445. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapPTToPointer.cxx +92 -0
  446. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapPTToPointer.h +40 -0
  447. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapReferenceToConcrete.cxx +49 -0
  448. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapReferenceToConcrete.h +34 -0
  449. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapReferenceToPointer.cxx +58 -0
  450. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapReferenceToPointer.h +33 -0
  451. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapThis.cxx +61 -0
  452. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapThis.h +35 -0
  453. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapToString.cxx +115 -0
  454. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapToString.h +57 -0
  455. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapUnchanged.cxx +23 -0
  456. panda3d_interrogate-0.1.0/src/interrogate/parameterRemapUnchanged.h +30 -0
  457. panda3d_interrogate-0.1.0/src/interrogate/parse_file.cxx +446 -0
  458. panda3d_interrogate-0.1.0/src/interrogate/pnotify.h +136 -0
  459. panda3d_interrogate-0.1.0/src/interrogate/typeManager.cxx +2614 -0
  460. panda3d_interrogate-0.1.0/src/interrogate/typeManager.h +157 -0
  461. panda3d_interrogate-0.1.0/src/interrogatedb/CMakeLists.txt +75 -0
  462. panda3d_interrogate-0.1.0/src/interrogatedb/config_interrogatedb.cxx +66 -0
  463. panda3d_interrogate-0.1.0/src/interrogatedb/config_interrogatedb.h +28 -0
  464. panda3d_interrogate-0.1.0/src/interrogatedb/dtool_super_base.cxx +161 -0
  465. panda3d_interrogate-0.1.0/src/interrogatedb/extension.h +61 -0
  466. panda3d_interrogate-0.1.0/src/interrogatedb/indexRemapper.cxx +68 -0
  467. panda3d_interrogate-0.1.0/src/interrogatedb/indexRemapper.h +44 -0
  468. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateComponent.I +123 -0
  469. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateComponent.cxx +50 -0
  470. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateComponent.h +67 -0
  471. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateDatabase.I +89 -0
  472. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateDatabase.cxx +1330 -0
  473. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateDatabase.h +205 -0
  474. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateElement.I +259 -0
  475. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateElement.cxx +74 -0
  476. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateElement.h +103 -0
  477. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateFunction.I +178 -0
  478. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateFunction.cxx +100 -0
  479. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateFunction.h +117 -0
  480. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateFunctionWrapper.I +240 -0
  481. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateFunctionWrapper.cxx +84 -0
  482. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateFunctionWrapper.h +118 -0
  483. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateMakeSeq.I +103 -0
  484. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateMakeSeq.cxx +50 -0
  485. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateMakeSeq.h +60 -0
  486. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateManifest.I +116 -0
  487. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateManifest.cxx +49 -0
  488. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateManifest.h +66 -0
  489. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateType.I +594 -0
  490. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateType.cxx +247 -0
  491. panda3d_interrogate-0.1.0/src/interrogatedb/interrogateType.h +239 -0
  492. panda3d_interrogate-0.1.0/src/interrogatedb/interrogate_datafile.I +51 -0
  493. panda3d_interrogate-0.1.0/src/interrogatedb/interrogate_datafile.cxx +100 -0
  494. panda3d_interrogate-0.1.0/src/interrogatedb/interrogate_datafile.h +38 -0
  495. panda3d_interrogate-0.1.0/src/interrogatedb/interrogate_interface.cxx +1043 -0
  496. panda3d_interrogate-0.1.0/src/interrogatedb/interrogate_interface.h +581 -0
  497. panda3d_interrogate-0.1.0/src/interrogatedb/interrogate_request.cxx +37 -0
  498. panda3d_interrogate-0.1.0/src/interrogatedb/interrogate_request.h +82 -0
  499. panda3d_interrogate-0.1.0/src/interrogatedb/py_compat.cxx +46 -0
  500. panda3d_interrogate-0.1.0/src/interrogatedb/py_compat.h +286 -0
  501. panda3d_interrogate-0.1.0/src/interrogatedb/py_panda.I +351 -0
  502. panda3d_interrogate-0.1.0/src/interrogatedb/py_panda.cxx +918 -0
  503. panda3d_interrogate-0.1.0/src/interrogatedb/py_panda.h +415 -0
  504. panda3d_interrogate-0.1.0/src/interrogatedb/py_wrappers.cxx +1778 -0
  505. panda3d_interrogate-0.1.0/src/interrogatedb/py_wrappers.h +61 -0
  506. panda3d_interrogate-0.1.0/src/test_interrogate/test_interrogate.cxx +615 -0
  507. panda3d_interrogate-0.1.0/src/test_interrogate/test_lib.cxx +40 -0
  508. panda3d_interrogate-0.1.0/src/test_interrogate/test_lib.h +35 -0
  509. panda3d_interrogate-0.1.0/tests/CMakeLists.txt +1 -0
  510. panda3d_interrogate-0.1.0/tests/cppparser/CMakeLists.txt +11 -0
  511. panda3d_interrogate-0.1.0/tests/cppparser/recursive_macros.c +24 -0
  512. panda3d_interrogate-0.1.0/tests/cppparser/stat.c +6 -0
@@ -0,0 +1,6 @@
1
+ ---
2
+ Checks: 'clang-diagnostic-*,clang-analyzer-*,performance-*,portability-*,modernize-use-nullptr'
3
+ WarningsAsErrors: ''
4
+ HeaderFilterRegex: ''
5
+ FormatStyle: none
6
+ ...
@@ -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)