aboutsummaryrefslogtreecommitdiff
path: root/cmake
Commit message (Collapse)AuthorAge
* Append to CMAKE_PREFIX_PATH instead setting it outright.John Szakmeister2014-03-28
| | | | | Also, don't set it in the FindXxx cmake scripts--it's unnecessary, and it resets the value.
* Fail RunUnittests if we get a non-zero exit code from busted.John Szakmeister2014-03-25
|
* Deal with the missing dependencies for libuv.John Szakmeister2014-03-21
| | | | | | Since libuv.pc is broken at the moment, try to determine libuv's dependencies ourselves. This ports most of the checks from libuv into our CMake build, and fixes the build on other unix platforms.
* Revamp the build system.John Szakmeister2014-03-21
| | | | | | | | | | | | | | | | | | | | | This achieves several goals: * Less reliance on scripts so we have better portability to Windows (though we still have a ways to go for proper Windows support). Luajit, luarocks, moonscript, and busted are all installed via CMake now. * Trying to make use of pkg-config to get the correct libraries. The latest libuv is still broken in this regard, but we'll at least be in a position to use it. * Allow the use of Ninja or make. The former runs faster in many environments, and automatically makes use of parallel builds. This also allows for system installed dependencies--though not through the Makefile just yet--and adds support for FreeBSD. This also make us build libuv and luajit as static libraries only, since we're only concerned about having static libraries for our bundled dependencies.
* CMakeLists: Improve handling of libintlAlexis Hildebrandt2014-02-27
| | | | by refactoring it into a separate CMake module
* CMake: add LibUV_USE_STATIC configuration variableRich Wareham2014-02-26
| | | | | | If LibUV_USE_STATIC is set then the static libuv library will be preferred to the shared library. This is useful when building with the bundled libuv but is less useful when building with a system libuv.
* prefer linking to static libuvRich Wareham2014-02-26
| | | | | | | | Explicitly try to find the static libuv library first. This might be considered a hack and if it weren't a single-use module it might be preferable to control static versus shared preferences with a configuration variable.
* automatically discover libuv in CMakeRich Wareham2014-02-26
| | | | Idiomatically discover if libuv is installed.
* add LibFindMacros CMake macro libraryRich Wareham2014-02-26