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
855d217f35
CMake: Update for upstream changes
...
- Miles is gone; remove all references
- pystub is gone; remove all references
- dcparser uses Interrogate extensions properly; don't depend on Python
- stringStream* moved to express from downloader
2019-08-24 18:07:22 -06:00
Sam Edwards
d008037244
CMake: Use Python::Module, not Python::Python, for extension linkage
...
CMake 3.15+ provides the former, which extension modules should link
against in order to ensure the ABI-appropriate linkage for the
platform.
For older versions of CMake, try to hack up the correct linkage for
the platform. If the platform isn't recognized, tell the user to
upgrade CMake.
This also tweaks p3pystub just a bit, since now it's actually relied
upon to resolve runtime link issues when p3dcparse pulls in direct,
as p3dcparse doesn't link against Python at all.
2019-08-15 16:47:53 -06:00
Sam Edwards
99fee1a64d
CMake: Assign COMPONENT and EXPORT to all targets
2018-12-06 17:48:44 -07:00
Sam Edwards
f1c5352cc1
CMake: Remove redundant target_compile_definitions(WITHIN_PANDA)
...
This is no longer needed since they should now propagate from
dcparser automatically.
2018-10-13 15:07:09 -06:00
Sam Edwards
d94f27bedd
CMake: Update dcparse(r) as latter now has EXPCL
2018-08-16 22:28:06 -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
592a2e2d68
Merge branch 'master' into cmake
2018-06-06 13:18:12 -06:00
Sam Edwards
e2b4353800
general: Replace NULL (and 0 as pointer) with C++11 nullptr
...
Exceptions to this replacement are:
- .c files
- Headers included by a .c file
- stb_image.h
- dr_flac.h
- Strings
- Comments
2018-06-03 16:35:13 -06:00
Sam Edwards
407589873a
CMake: Update some Windows-specific rules
2018-06-01 02:56:43 -06:00
Sam Edwards
4cec331722
CMake: Add support for building metalibs as metalibs
2018-04-18 14:42:56 -06:00
Sam Edwards
7590c37f0c
CMake: Have Interrogate respect INTERFACE_COMPILE_DEFINITIONS
...
This commit isn't technically quite right, since Interrogate should
use the definitions from COMPILE_DEFINITIONS but the module should
be built with INTERFACE_COMPILE_DEFINITIONS, but whatever. That can
be changed if it becomes a nuisance later on.
The rationale here is it's consistent with how CMake treats these
two properties.
2018-04-18 12:23:18 -06: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
042488bcb3
replace gnu_getopt with new Panda-licensed implementation
2011-08-03 23:48:32 +00:00
David Rose
cb0fd70fe6
osx build issues
2009-11-23 20:17:36 +00:00
David Rose
cbfa38d2b5
simplify ConfigureDecl etc.
2009-06-15 22:25:52 +00:00
David Rose
d6171f0bdf
build with link_all_static
2009-06-15 01:20:41 +00:00
rdb
4f4761e57a
Build correctly with zlib in incorrect location
2009-06-14 13:36:07 +00:00
David Rose
fb9c56432a
we are now using the modified BSD license
2008-05-28 18:37:20 +00:00
David Rose
6a29807423
show signed hash
2007-04-25 15:42:20 +00:00
David Rose
c424b85b73
build on osx
2007-03-08 00:20:27 +00:00
David Rose
8de0914056
latest osx publish stuff
2006-09-28 16:31:02 +00:00
Chris Brunner
ffb1b8e670
for Mac support
2006-04-26 19:33:47 +00:00
Joseph Lee
4631389040
additional explicit libs to fix linking for FreeBSD
2006-04-13 04:10:22 +00:00
Roger Hughston
beb4d15e86
OSX Linking
2006-03-15 01:54:25 +00:00
David Rose
572a146c24
untabify
2006-01-13 18:38:07 +00:00
David Rose
bfb6afa369
add -f and -c
2006-01-10 17:11:01 +00:00
David Rose
d7cb3ba181
for scoping
2004-07-15 19:31:39 +00:00
Darren Ranalli
9082f017d4
no MemoryUsage in OP4
2004-07-01 22:31:36 +00:00
David Rose
a689a27760
link error
2004-07-01 21:02:27 +00:00
David Rose
968d889a9c
track memory
2004-07-01 17:16:58 +00:00
David Rose
6d457d093c
allow undefined typedefs like classes
2004-06-18 21:18:24 +00:00
David Rose
53a7e319d8
tweaks for publish
2004-05-27 01:40:39 +00:00
David Rose
b2bb4b5c08
use pystub after all
2004-05-19 17:04:51 +00:00
David Rose
27b8913ad9
compiler tweaks
2004-05-19 05:09:44 +00:00
David Rose
190bce1824
split out otp.dc, pirates.dc
2004-05-17 22:10:17 +00:00
Dave Schuyler
e45fe3235f
lots of little changes for os x
2004-04-02 02:53:20 +00:00
David Rose
843c0331ae
update license, change remaining local #includes to use quotation marks
2004-02-13 19:27:33 +00:00
David Rose
49f10b70e7
add dcparse -b and -v
2003-10-17 11:26:10 +00:00
David Rose
c11ab984ae
add (u)int8array
2001-07-14 01:55:50 +00:00
David Rose
00b55bf50c
Update copyright header
2001-05-25 21:41:25 +00:00
David Rose
121fb2faa3
*** empty log message ***
2001-03-23 01:16:03 +00:00
David Rose
c47d83286d
*** empty log message ***
2001-03-22 22:54:25 +00:00