Commit Graph

84 Commits

Author SHA1 Message Date
Sam Edwards 5fa4af9189 CMake: Rely on GNUInstallDirs to specify install paths
This makes multiarch OSes happy as they can dictate that
64-bit libraries go into 'lib64'
2019-08-31 00:48:42 -06:00
Sam Edwards 1a654cba04 CMake: Record the location that headers are installed
This populates INTERFACE_INCLUDE_DIRECTORIES on the targets
after they're installed.
2019-08-30 22:58:18 -06:00
Sam Edwards 6097d34ead CMake: Neatly format everything for readability and consistency 2019-04-14 22:37:18 -06:00
Sam Edwards 99fee1a64d CMake: Assign COMPONENT and EXPORT to all targets 2018-12-06 17:48:44 -07:00
Sam Edwards 208ecd6708 Merge branch 'master' into cmake 2018-09-02 16:06:41 -06:00
Sam Edwards fa1e1a2e63 CMake: Tidy up installation directory
Don't install "object-Configuration/" directories when
using metalibs, and also put .dll files in bin/ on Windows.
2018-09-01 11:07:55 -06:00
Sam Edwards 4695557a5d general: Don't require BUILDING_* for static builds 2018-08-31 23:54:32 -06:00
Sam Edwards 2ab77d9a27 Merge branch 'master' into cmake 2018-08-14 21:59:45 -06:00
Sam Edwards b2bfb31114 general: Remove `using std::*` from headers
Also remove most `using namespace std;` statements. The only one that remains is in py_panda.h.

Closes #350
Closes #335
2018-06-14 16:04:49 +02:00
Sam Edwards c4126942f6 Merge branch 'master' into cmake 2018-06-10 02:29:21 -06:00
Sam Edwards 7790f8429d general: Fully qualify header references into the std namespace
Closes #341
2018-06-07 10:35:12 +02:00
Sam Edwards 4cec331722 CMake: Add support for building metalibs as metalibs 2018-04-18 14:42:56 -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 449195a33d CMake: Define appropriate BUILDING_ symbols 2018-03-31 04:24:06 -06:00
Sam Edwards 25b13ad199 Merge branch 'master' into cmake 2018-03-31 04:23:49 -06:00
Sam Edwards 9dd37e9dbc general: Add guards to ensure proper BUILDING_ macros defined
This is designed to sanity-check the buildsystem, ensuring that the
expected BUILDING_ macros are defined at the expected time. It
also helps catch cases where the wrong BUILDING_/EXPCL_ macros
are used.
2018-03-25 13:17:52 -06:00
Sam Edwards f231ba4cd7 directbase: Introduce BUILDING_ defines for each component
Ditto everything before, but for direct.
2018-03-25 13:17:52 -06:00
rdb 88dd3389ee cmake: install header files 2017-02-19 23:42:48 +01:00
Sam Edwards 441371e8d9 Merge branch 'master' into cmake 2016-03-15 18:30:55 -07:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 5b291a9b10 Merge branch 'master' into cmake 2015-11-09 19:21:12 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
Sam Edwards 5e77793b0f CMake: Add some install(...) directives. 2014-02-04 22:43:23 -07:00
Sam Edwards 89797d78d6 CMake: Work on direct; get dcparse, dcparser, deadrec, directbase, distributed to build+Interrogate. 2014-02-04 14:58:52 -07:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
David Rose 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
Justin Butler 4c09b6307b Smoother movement fixes for better stopping/starting and timestamp issues. Fixes problem where distributed smooth objects will stop movement at the wrong location or will slide around when first being generated. 2008-11-22 00:45:17 +00:00
Darren Ranalli 11cc062e84 smoother uses setPosHpr instead of setMat, no longer affects scale 2008-10-29 18:21:07 +00:00
Justin Butler bcc7ed59a8 Small teleporting fix for smoothing to make sure timestamps are up-to-date when smoothed object stops then starts movement. 2008-08-27 00:47:22 +00:00
David Rose 618c6da8a5 turn off accept-clock-skew by default 2008-08-01 00:42:40 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
Redmond Urbino 732215ed61 multiple players can rotate the water pitcher 2008-01-04 00:02:21 +00:00
Darren Ranalli ea98ccad42 count rotation change as 'smooth position changed', re-compute forward axis after wrtReparent (both theoretical fixes, they seem like the right thing to do but I didn't see anything in particular that was broken because of them) 2007-09-12 20:55:27 +00:00
Darren Ranalli 85312ee6c9 fix for previous checkin 2007-09-07 23:09:46 +00:00
Darren Ranalli f57c102fcd smoother debugging 2007-09-07 22:33:57 +00:00
Darren Ranalli 55e9d9cdf5 fixed smooth movement popping after reparenting 2007-09-07 22:27:28 +00:00
Darren Ranalli 0caaf136cd fixed smooth motion warping problem 2007-08-13 23:27:24 +00:00
Darren Ranalli 0680a3d796 added has_most_recent_timestamp, avoids invalid timestamps after reset 2007-08-09 19:32:29 +00:00
Darren Ranalli b421580c9b added get/set_most_recent_timestamp to allow local (non-distributed) smooth pos updates 2007-08-09 17:44:24 +00:00
Darren Ranalli 114dd9bee9 added handle_wrt_reparent 2007-06-29 20:47:44 +00:00
Darren Ranalli 49c6aa19b3 added setDefaultToStandingStill 2007-06-27 21:09:32 +00:00
David Rose 1ca01f215c fixes to smoothing 2007-03-22 20:35:54 +00:00
David Rose c373e91564 make smoothmover parameters be instance variables 2007-02-06 17:27:09 +00:00
David Rose 9ac35805f9 add get_sample_pos, get_sample_hpr 2007-01-17 19:22:38 +00:00
David Rose 064fd1dc07 oops, build on Windows 2006-10-23 20:10:24 +00:00
David Rose b783726b11 fix initial delay for smooth mover 2006-10-23 18:59:12 +00:00
Josh Wilson 463cc7be4f added lateral distance monitoring 2006-10-20 16:34:55 +00:00
David Rose 049dd58cdf work around private class issues 2006-09-01 19:11:19 +00:00
Chris Brunner ffb1b8e670 for Mac support 2006-04-26 19:33:47 +00:00
Justin Butler 3a4872bac0 Smoothing pop fix when an object starts moving after not moving for a while. 2006-04-20 00:58:23 +00:00