Commit Graph

2036 Commits

Author SHA1 Message Date
kestred b940bbc88e Add python_libaries for linker to p3interrogatedb target (when not HAVE_PYTHON, PYTHON_LIBRARIES will be empty). 2014-01-19 00:53:11 -07:00
kestred 9ee6e59795 Change %pure_parser to %pure-parser in cppBison.yxx (%pure_parser is very very deprecated) 2014-01-19 00:45:02 -07:00
kestred 3fd5f58583 Add #ifdef and #undef where necessary to prevent duplicate definitions. 2014-01-19 00:44:14 -07:00
kestred b07ce7dc93 Add include guards to our generated dtool_config.h 2014-01-19 00:28:55 -07:00
rdb a10bbe9c9e One more pystub symbol for Python 3 that's used in direct 2013-12-23 21:06:20 +00:00
kestred f81b14a70b cmake: config: Finish updating config to use the same variables as used in-source. 2013-12-21 19:41:23 -07:00
kestred 8cdc819344 cmake: config: Move new package macros to cmake/macros, use new package macros in Package.cmake, begin removing redundant package/config options from Package.cmake (theses are being moved to Config.cmake). 2013-12-21 19:30:53 -07:00
rdb 693159b1c7 Merge branch 'cmake' of ssh://github.com/kestred/panda3d into cmake
Conflicts:
	CMakeLists.txt
2013-12-22 00:20:01 +01:00
rdb 5fdf4828be package macros, add stuff to Config.cmake 2013-12-22 00:18:57 +01:00
kestred f3d7a325ab cmake: bugfix: Should be #ifdef HAVE_GL not #if HAVE_GL 2013-12-21 15:12:22 -07:00
kestred 87dba6f064 cmake: packages: Add SDL find and config, general bugfixing and cleanup 2013-12-21 14:58:38 -07:00
kestred 89e0cd9d96 cmake: packages: Add OpenGL find and config. 2013-12-21 14:39:49 -07:00
kestred 9c42b3602f cmake: packages: Add FLTK find and config. 2013-12-21 14:36:22 -07:00
kestred 26b3d826b9 cmake: packages: add support for wxwidgets 2013-12-21 14:31:17 -07:00
kestred 7321c7b4b7 cmake: add missing prc variables to the mark_as_advanced declaration. 2013-12-21 13:46:47 -07:00
kestred 1fc064104f cmake: Rename dtool/Packages.cmake to dtool/Package.cmake to keep consistency with ppremake. 2013-12-21 13:46:28 -07:00
kestred c579f87007 cmake: Reorganize macros, and cleanup related files (add docs, etc) 2013-12-21 13:44:05 -07:00
rdb 4944d7cd7b use compare_to and get_class_type instead of compareTo and getClassType 2013-12-18 10:24:00 +00:00
rdb 708e8dc513 Remove HAVE_GETTIMEOFDAY which we aren't using 2013-12-17 18:01:54 +00:00
rdb f29c4681e1 Fix broken Python 3 support. 2013-12-17 17:42:16 +00:00
rdb 634c3c5a0a Stubs for Python 3 functions 2013-12-17 15:03:30 +00:00
rdb d71923b36e Add interrogate macros, add p3express/p3downloader/p3dtoolconfig, fixes for pre-2.8.11 2013-12-16 22:20:46 +01:00
rdb 7ea0d099e9 More progress on Config.cmake, fix bison, add BUILD_DTOOL/BUILD_PANDA to toggle trees. 2013-12-16 20:33:20 +01:00
rdb 57c9b1ae64 Add composite_sources, add bison macro, emulate CMAKE_CURRENT_DIR_IN_INTERFACE in pre-2.8.11 2013-12-16 17:21:11 +01:00
rdb b002c8299a Work on Config.cmake (add documentation and such) 2013-12-14 17:28:51 +01:00
rdb 39bea67211 Split automated compiler settings into LocalSetup.cmake. Rename Version.cmake into PandaVersion.cmake. 2013-12-14 14:51:36 +01:00
rdb 7a66d4ea2f Fix issues with version, copy over documentation for version vars. 2013-12-14 12:08:30 +01:00
kestred 81e4f87420 CMake: Don't smash CMAKE flags when using posix threads. 2013-12-13 11:06:08 -07:00
kestred 5c85d29d27 CMake: Configure: Cherry-pick more documentation and misc config vars from cmake-rdb branch. 2013-12-13 11:02:37 -07:00
kestred abb19ae689 CMake: Filch some local system config vars from cmake-rdb branch, and misc cleanup. 2013-12-13 10:42:33 -07:00
kestred 90e48a9b7d CMake: Improve documentation for cached Version variables. Add more version variables to cache. 2013-12-13 10:03:00 -07:00
kestred fdcd21ad4c CMake: Rearrange CMake flow so that Version, Package, and Config information is available at the top level. Remove complexity from subpackages where possible. 2013-12-13 14:06:36 -07:00
kestred 905f0a8c55 CMake: Start cleaning up configuration variables. 2013-12-13 13:32:23 -07:00
kestred 826979c099 CMake: Configure: Finish cleaning up finding packages. 2013-12-13 13:32:04 -07:00
kestred c7b514bc75 CMake: Configure: Begin conversion to standard CMake find package syntax. 2013-12-13 03:27:52 -07:00
rdb a8cde9f6f1 Use a custom target for bison as the built-in one is ill-equipped for our purposes. Also, add pandabase. 2013-12-13 16:35:16 +01:00
rdb b0e3949544 Get rid of HAVE_GETTIMEOFDAY 2013-12-13 14:24:17 +01:00
rdb abec123074 Merge branch 'master' of ssh://github.com/kestred/panda3d into cmake 2013-12-13 14:19:28 +01:00
kestred d1572173d3 CMake: Configure: Add XYZZY_LIBRARY(IES) variable declarations for Find packages. Other cleanup and reorginizaion. 2013-12-12 12:30:42 -07:00
kestred 4fa31ee4d6 CMake: Use option() instead of set(CACHE) 2013-12-12 10:24:39 -07:00
rdb b4714bcdf1 no place in the source uses HAVE_GETTIMEOFDAY, and it conflicts with Python, so let's simply not define it 2013-12-12 17:20:14 +00:00
kestred ca041ae6d5 CMake: Configure: Use BUILD_<FEATURE> for CMake cache when configuring Panda features. 2013-12-11 11:19:58 -07:00
kestred bd5ade1fb7 CMake: Configure: Add missing CMake variable for freetype. 2013-12-11 11:03:43 -07:00
kestred ee06025d43 CMake: Configure: Add Freetype support. 2013-12-11 11:00:43 -07:00
kestred 150624b27d Add GTK2 support. 2013-12-11 10:53:39 -07:00
kestred a6162615d7 CMake: Configure: Add forgotten Mangle module. 2013-12-09 22:25:30 -07:00
kestred aaff5b9c4f CMake: Configure: Add OpenAL support. Typo fix in CMake README.md. 2013-12-09 12:22:54 -07:00
kestred 4ac2363673 CMake: Configure: Add a "DISCOVERED" option to configure. 2013-12-09 11:40:25 -07:00
kestred 55089fda95 CMake: Configure: Add FMOD Ex support. 2013-12-09 03:30:49 -07:00
kestred 9790c6f504 CMake: Configure: Nominally support Miles Sound System. Can't actually test it, because I don't own it. 2013-12-09 02:23:44 -07:00
kestred 6d8ba55bed CMake: Configure: Add zlib support. 2013-12-09 02:02:56 -07:00
kestred 054cafeac8 CMake: Configure: Add threading support. 2013-12-09 01:10:36 -07:00
kestred eb947cc15a CMake: Configure: Cleanup the packages which haven't been implemented yet, and other config settings. 2013-12-09 00:44:59 -07:00
kestred 693f7b39cf CMake: Configure: Add option to enable or disable all packages. 2013-12-09 00:11:39 -07:00
kestred 90e4926b94 CMake: Configure: Support VRPN. 2013-12-08 23:17:24 -07:00
kestred 6fe7b59801 CMake: Configure: Add cross-platform (openGL) Nvidia Cg support. 2013-12-08 20:59:17 -07:00
kestred d03d5125a0 CMake: Configure: Add using and finding squish library. 2013-12-07 21:09:40 -07:00
kestred 93ca5ade90 CMake: Bugfix: Include "memoryHook.h" in "streamReader.cxx" to fix incomplete class from foward decl. 2013-12-06 01:32:04 -07:00
Sam Edwards 8f3a798ae8 CMake: Resolve linker issues with interrogate; it now builds! 2013-11-30 03:07:23 -07:00
kestred a0b8deb745 CMake: Configure: Update to use the mangle_package and config_package functions. 2013-11-30 02:28:59 -07:00
kestred 1dc12b6ea1 CMake: Configure: Implement config_package and mangle_package functions with test-case uses. 2013-11-30 02:17:10 -07:00
kestred b44101819c CMake: Configure: Update config vars with USE_<PACKAGE> variables for each package that allow toggling of individual packages. 2013-11-30 01:03:08 -07:00
Sam Edwards a71c7e6ad1 Get interrogate to (almost) build under CMake. 2013-11-29 03:13:50 -07:00
Sam Edwards e9518eab5c CMake: Build dtool/cppparser without requiring HAVE_INTERROGATE; fix its use of paths. 2013-11-29 02:59:46 -07:00
Sam Edwards 03e79fce99 Build dtool/interrogatedb under CMake. 2013-11-29 02:34:18 -07:00
Sam Edwards eb1ac82a2e Build dtool/pystub under CMake. 2013-11-29 02:24:45 -07:00
Sam Edwards 163cbe4ea2 Massively clean up CMakeLists files by removing use of ${CMAKE_CURRENT_LIST_DIR}; this is handled by add_subdirectory instead. 2013-11-29 02:19:55 -07:00
kestred 8abd710616 CMake: Configure: Add fftw support. 2013-11-29 02:14:00 -07:00
Sam Edwards 6f426a3e82 Get dconfig building under CMake. 2013-11-29 01:57:00 -07:00
kestred 57b2079a3f CMake: Modules: Cleanup FindEigen2/3 and use a consistent format with that of FindTar.cmake. 2013-11-29 01:38:01 -07:00
kestred 67be41a672 CMake: Configure: Add libtar support. First custom Find module. 2013-11-29 01:21:14 -07:00
kestred b21b31dffd CMake: Libraries: Add TIFF. 2013-11-29 00:48:08 -07:00
kestred 1a75d28f9a temp 2013-11-29 00:36:18 -07:00
kestred 71889acb88 CMake: Begin implementing library detection and configuration. 2013-11-29 00:29:29 -07:00
Sam Edwards 111b1f0548 Add p3cppparser building to the CMake build system. 2013-11-28 23:36:22 -07:00
Sam Edwards 6c067883cc Update CMake configuration (and a few includes) to get p3prc compiling. 2013-11-28 22:21:28 -07:00
Sam Edwards bfe32b75d7 Modify CMakeLists to use add_subdirectory where appropriate, instead of include. 2013-11-28 20:09:27 -07:00
Sam Edwards ea140ed5cc Rename most *.cmake files to CMakeLists.txt [1/2] 2013-11-28 19:01:16 -07:00
Sam Edwards 8020f5da1a Ensure that dtoolutil/dtoolbase get built statically by CMake. 2013-11-28 01:53:40 -07:00
Sam Edwards e7655ced72 Get p3dtool building under CMake. 2013-11-28 01:41:32 -07:00
Sam Edwards 3f4f03229f Get dtoolutil to build under CMake. 2013-11-28 01:27:12 -07:00
Sam Edwards 470288a37c Add enough to Configure.cmake to get libp3dtoolbase to build. 2013-11-28 00:47:12 -07:00
kestred 93a483ea3f CMake: Start DTool Configure.cmake, currently produces output depending on the value of the configuration variables. Needs find_package() calls. 2013-11-25 16:28:00 -07:00
kestred c9084be73a CMake: Remove debugging comment. 2013-11-25 16:26:41 -07:00
kestred b73d724fed CMake: Start basic cmake files; working on dtool first as example. 2013-11-25 01:44:51 -07:00
rdb 5b1ea47fee add F_operator flag 2013-11-18 18:37:27 +00:00
rdb 52e4acc0ce fix a crash with the python-obj, python and c interface makers 2013-11-08 10:30:27 +00:00
rdb c3e862a842 Add is_double and is_short 2013-11-08 10:25:45 +00:00
rdb 7926a5fa7b backward compatibility with Python 2.7 2013-10-27 18:51:20 +00:00
rdb 0d656a6848 fix typo. thanks to heek_ 2013-09-19 08:04:15 +00:00
rdb b7b9adfd35 compile fixes 2013-09-18 23:35:15 +00:00
rdb d2720d4365 fix line endings 2013-09-17 15:23:14 +00:00
rdb cc3bae7e76 Big interrogate cleanup, new extension system, add __iter__ support, add buffer protocol support 2013-09-17 10:11:43 +00:00
rdb 8fff339477 A lot of code cleanup 2013-09-01 15:05:43 +00:00
David Rose 0ea9b5e224 update ffmpeg libraries 2013-08-26 23:09:00 +00:00
David Rose a16238932a looks like we had a long-term confusion for LFLAGS as a set of linker flags and as a set of flex flags. Renamed LFLAGS to FLEXFLAGS for flex input. 2013-08-26 22:44:22 +00:00
rdb c0d78d57d4 Can we just use streamoff instead of ssize_t? 2013-08-26 15:45:14 +00:00
rdb 461fdfdddc fix compile error on MSVC, where ssize_t doesn't exist (but SSIZE_T does) 2013-08-26 14:38:55 +00:00
rdb 4b2c64d73f Add libp3vrpn to genpycode list. 2013-08-26 12:18:38 +00:00
rdb 30f1f50e78 Add vorbis package definition in ppremake in anticipation of ogg vorbis support. Also, remove unnecessary HAVE_VORBIS from dtool_config.h. 2013-08-25 17:38:45 +00:00