Commit Graph

97 Commits

Author SHA1 Message Date
rdb 79d6727077 Move MAIN_DIR initialization code from interrogate to panda3d
Using the new -init flag, see panda3d/interrogate#3
2025-02-02 20:11:32 +01:00
rdb 92db1840f9 net: Prepare to split these classes out into panda3d.net module
See #1466 - these classes are still part of panda3d.core as of 1.11, but they should really be imported from panda3d.net (they can be imported from either place in 1.11).  A future release will remove them from panda3d.core entirely.
2024-03-02 13:41:23 +01:00
rdb c48fcba3d8 CMake: build tinydisplay using CMake
Based on work by @toadkarter (#1487) and @pmp-p (#1547)

Fixes #1481
2023-10-15 11:34:47 +02:00
rdb 545ede9d94 cocoa: Split out GL-specific code into new cocoagldisplay module
This makes it possible to create subclasses for tinydisplay and vulkandisplay without having to duplicate code
2023-03-21 23:16:36 +01:00
rdb 9bd66baa1c Merge branch 'release/1.10.x' 2022-11-21 19:02:50 +01:00
rdb a1105f0f96 dxml: Remove TinyXML bindings
This isn't used anywhere in the Panda source anymore, and is considered out-of-scope for Panda.  Python users can use the XML parsing library that's shipped with the Python source (or any other one on PyPI), and C++ users can just pull TinyXML into their projects directly.

If there really is a strong call to bring this back, I'd rather do it as an external package.

Closes #1379
2022-11-03 13:45:22 +01:00
rdb 6ad9eeb5a1 CMake: generate panda3d.dist-info directory
This makes pip recognise that Panda3D has been installed and setuptools recognise the build_apps and bdist_apps commands.
2020-04-30 21:37:35 +02:00
rdb d799a09002 cleanup: Remove support for EOL versions of Python
Fixes #905
2020-04-26 20:07:56 +02:00
rdb 1c6d57f92b CMake: Write panda3d/dtoolconfig.py like makepanda does 2020-04-01 12:19:03 +02:00
rdb c4c99ca24a CMake: fix bad location of panda3d/__init__.py in multiconfig build 2020-04-01 12:19:03 +02:00
Sam Edwards e08896deb7 CMake: Update panda3d/__init__.py
- Python 2.7 EOL warning is now past tense
- Use os.add_dll_directory() when available (instead of hacking up PATH)
2020-01-06 17:12:37 -07:00
Sam Edwards 5654e64645 CMake: First batch of improvements per review
Addressing feedback per @rdb in GitHub #717
2019-09-06 01:11:50 -06:00
Sam Edwards d77ad6d0ed CMake: vrpn (and its igate module) require -fexceptions
Per #development comment by rdb earlier today
2019-09-01 15:36:33 -06:00
Sam Edwards b9e50da3ce CMake: p3distort is NOT a component; it's its own pandafx library 2019-08-19 18:50:53 -06:00
Sam Edwards 49865c103a CMake: Modify install_python_package() so it keeps the build-dir copy up-to-date too 2019-05-01 23:44:47 -06:00
Sam Edwards b3f5c38ef3 CMake: Remove references to "panda3d" from Interrogate 2019-04-14 23:10:49 -06:00
Sam Edwards 6097d34ead CMake: Neatly format everything for readability and consistency 2019-04-14 22:37:18 -06:00
Sam Edwards d61ecb8a8f CMake: Build p3distort 2019-03-18 01:56:38 -06:00
rdb 617ef48346 CMake: fix building without HAVE_NET/WANT_NATIVE_NET 2019-03-17 21:15:26 +01:00
Sam Edwards 9c90ad596e CMake: Update for upstream changes 2019-03-12 02:05:06 -06:00
Sam Edwards bddd7c1b4b CMake: Generate/install exported target sets 2018-12-27 17:39:22 -07:00
Sam Edwards 99fee1a64d CMake: Assign COMPONENT and EXPORT to all targets 2018-12-06 17:48:44 -07:00
Sam Edwards 9222bc6d31 CMake: Detect OpenCV/ARToolKit, build p3vision
For now, p3vision is only built if either OpenCV or
ARToolKit is available. It does contain some generic
webcam access code, so it might be worth building it
when that's available.
2018-11-03 22:51:14 -06:00
Sam Edwards f701e36aa5 CMake: Detect VRPN and build support for it when present
I inadvertently rewrote FindVRPN.cmake doing this - I didn't
think to check if it already existed before overwriting.
Oh well, the new version is a bit simpler.
2018-11-02 21:08:00 -06:00
Sam Edwards 5b973ed837 CMake: Add DirectX 9 support 2018-11-01 22:33:01 -06:00
Sam Edwards 11a75eab99 CMake: Build OpenGL ES (1&2) display modules
Also reorganizes Package.cmake a little, getting more of the
package discovery logic under the PackageConfig.cmake system.
2018-10-22 01:58:24 -06:00
Sam Edwards 90d3b29767 CMake: Sort direct/dtool/panda/pandatool subdirectories
This forces us to make sure the inter-target dependencies work
in an order-independent way.
2018-10-10 20:16:32 -06:00
Sam Edwards cf26888672 CMake: Stop using include_directories()
Setting this directly on the target is cleaner,
and in most cases, the INTERFACE_INCLUDE_DIRECTORIES
mechanism takes care of it for us.
2018-09-18 18:17:43 -06:00
Sam Edwards 23f46d8a84 CMake: Build p3bullet 2018-09-02 16:14:01 -06:00
Sam Edwards 93306c0aa5 CMake: Build pandaexpress metalib 2018-06-12 16:23:32 -06:00
Sam Edwards d642ca4fa0 CMake: Change linkages to go through metalibs
This changes the target_link_libraries() declarations so they only
go directly to a component library if it's in the same metalib.

If it's outside of the metalib, the correct thing to do is link against
the metalib. CMake takes care of the transitive linking for us, so
there isn't actually any big change here.
2018-04-15 01:10:21 -06:00
Sam Edwards 411e0ee93f CMake: Use interrogate's -import instead of linking directly 2018-04-05 16:11:59 -06:00
Sam Edwards 283db1fb7a CMake: Implement detection for FFTW3 2018-02-17 23:35:43 -07:00
Sam Edwards 5c4ef25bb7 CMake: Use proper target_use_packages definitions for Eigen 2018-02-17 16:56:35 -07:00
Sam Edwards 556c03c0c1 CMake: Take care of panda3d.interrogatedb module 2018-02-07 18:59:41 -07:00
Sam Edwards 41f532bea6 cmake: Build p3dxml. 2016-12-04 16:57:29 -08:00
Sam Edwards 50f89f5fd5 cmake: Adjust for upstream changes. 2016-06-25 19:12:56 -07:00
Sam Edwards e20aeabf50 CMake: Build pnmtext *after* parametrics. 2016-03-15 21:23:56 -07:00
Sam Edwards 166ac72b96 CMake: Only define Python modules when HAVE_PYTHON is on. 2015-11-11 13:53:34 -08:00
Sam Edwards 9b98df1ef5 CMake: Update for recent changes. 2015-02-11 10:55:36 -08:00
Sam Edwards 0d13247721 Merge branch 'cmake' into cmake-proper-interrogate
Conflicts:
	cmake/macros/Interrogate.cmake
	panda/src/express/CMakeLists.txt
	panda/src/ode/CMakeLists.txt
2014-07-26 19:12:22 -07:00
Sam Edwards f6f80213b2 CMake: Build downloadertools. 2014-07-24 22:57:07 -07:00
rdb e9f4e44e99 Add panda/src/configfiles 2014-05-30 12:27:21 +02:00
Sam Edwards ea4043d689 cmake: Build pstatclient. 2014-04-16 06:31:04 -06:00
Sam Edwards 127dfe7c4d cmake: Add FFMPEG compilation support. 2014-04-11 03:38:08 -06:00
Sam Edwards 841f3b8a49 CMake: Link Interrogate modules against 'core'. 2014-03-30 04:51:38 -06:00
Sam Edwards a39be0ed75 Merge branch 'cmake-cfs-remainder' into cmake
Conflicts:
	panda/CMakeLists.txt
2014-03-30 01:21:09 -06:00
Sam Edwards ea48d3d7a6 CMake: Build OS X display modules. 2014-03-04 03:27:39 -07:00
Sam Edwards 3969d0e1ac CMake: Link Interrogate bindings against metalibs. 2014-03-02 18:33:00 -07:00
Sam Edwards 9f8ab63e75 CMake: Build audiotraits. 2014-02-14 06:23:05 -07:00