Commit Graph

74 Commits

Author SHA1 Message Date
Vladimir Timofeev 5dabf5719c Fix webp searching 2014-11-16 20:08:54 +03:00
Vladimir Timofeev f8c56ebbf9 Fix finding fmodex on ArchLinux 2014-11-16 20:00:51 +03:00
Vladimir Timofeev e3a0e089ba Add FindFMODEX.cmake and use it on linux to find FMOD Ex library 2014-11-16 19:10:45 +03:00
Vladimir Timofeev f8f37b7bf5 Fix comments and formatting in FindTinyXML2.cmake 2014-11-16 19:09:59 +03:00
Vladimir Timofeev 33786678eb Add finding curl. Fix some leftovers from websockets. 2014-11-16 13:55:42 +03:00
Vladimir Timofeev c7bff5ea9e Find libwebsockets in unified way 2014-11-16 13:22:54 +03:00
Vladimir Timofeev 1d629dfe7d Find libtiff 2014-11-16 12:47:59 +03:00
Vladimir Timofeev d9337cdbd3 Find libpng and zlib unified way. 2014-11-16 00:21:11 +03:00
Vladimir Timofeev 9334f0b569 Add custom FindJPEG.cmake module. 2014-11-15 21:16:39 +03:00
Vladimir Timofeev a3b414f0d5 Use COCOS_EXTERNAL_DIR in Find*.cmake modules 2014-11-15 21:13:25 +03:00
Vladimir Timofeev 2863b95c61 Make FindTinyXML2.cmake use included macroses from same directory, as other our Find*.cmake modules 2014-11-15 17:07:46 +03:00
Vladimir Timofeev 27ef26270c Unify TinyXML2 usage.
* should be included as simple "tinyxml2.h", but on some files was "tinyxml2/tinyxml2.h", replace this.
* Add cmake/Modules/FindTinyXML2.cmake
* As tinyxml2 for now has not prebuilt, instead sources included, add their as subdirectory if USE_PREBUILT_LIBS
2014-11-15 14:43:50 +03:00
Vladimir Timofeev 60e5803698 Improve FindFreetype.cmake for Mac 2014-11-15 14:41:19 +03:00
Vladimir Timofeev eb0159b2b7 Unify usage of chipmunk library
* cmake/Modules/FindChipmunk.cmake now can find prebuilt chipmunk libs
* follow USE_CHIPMUNK variable (although at the moment cocos can't build without chipmunk)
* come cleanups and formatting
2014-11-15 13:17:23 +03:00
Vladimir Timofeev 53d23ce5f3 Unify WebP usage. 2014-11-15 10:27:56 +03:00
Vladimir Timofeev ddce662ec3 Unify usage of prebuilt libraries in cmake builds.
* introduce config variable USE_PREBUILT_LIBS (default: ON). When OFF, cmake will not use prebuilt libs, only try find system installed libraries.
* FindGLFW3.cmake now search our prebuilt library (if USE_PREBULT_LIBS)
* FindFreetype.cmake also

This and next changes should simplify our CMakeLists.txt files and USE_PREBUILT_LIBS config allow external package developers to integrate cocos to their packaging system.
2014-11-15 10:27:56 +03:00
Vladimir Timofeev 77ab866090 Move BuildHelpers.CMakeLists.txt to Modules/CocosBuildHelpers.cmake, this name is more standard for cmake include files, and in future this file can be installed to use by external applications. 2014-11-11 10:30:48 +03:00
Vladimir Timofeev 72e59a53a8 cmake: Build application bundles on Mac for test applications (this allow run they from Xcode) 2014-11-11 10:30:48 +03:00
Anton Sokolchenko 41b51168d0 CMake fix for template projects 2014-10-15 16:33:58 +03:00
andyque db2559ef67 add box2d tinyzml back 2014-09-27 01:26:35 -07:00
martell 07c31bb4e1 Linux: fix glfw3 searching 2014-10-09 05:22:21 +01:00
martell 65795ea022 IOS: Added initial cmake toolchain
Signed-off-by: martell <martellmalone@gmail.com>
2014-10-04 00:55:04 +01:00
martell 8a4b8afc6c Android: added support for building libcocos2d
Signed-off-by: martell <martellmalone@gmail.com>
2014-10-03 23:22:35 +01:00
martell c3172bef50 Finalise Windows cmake support for mingw-w64
Signed-off-by: martell <martellmalone@gmail.com>
2014-10-03 23:22:09 +01:00