summaryrefslogtreecommitdiff
path: root/Options.cmake
AgeCommit message (Collapse)AuthorFilesLines
2015-01-19waffle: add support for building Waffle using NaCl toolchainTapani Pälli1-0/+5
Patch adds changes required to use NaCl compiler and libraries to build Waffle. Build can be configured to use specific version of the NaCl SDK, toolchain for the build needs to be selected with cmake variable CMAKE_TOOLCHAIN_FILE. Example command line to configure a build: cmake -Dwaffle_has_nacl=ON \ -Dnacl_sdk_path=/home/tpalli/nacl/nacl_sdk \ -Dnacl_version=pepper_39 \ -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-nacl-x86_64-glibc.cmake \ -DCMAKE_BUILD_TYPE=Release \ . v2: cmake fixes, create toolchain files for nacl (Emil Velikov) v3: rename toolchain files, cmake fixes (Chad Versace, Emil Velikov) Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Chad Versace <chad.versace@intel.com>
2014-06-10cmake: add autodetection for waffle_has_egl, glx...Emil Velikov1-4/+28
Silence the pkg_check_modules and check set the default options depending on the packages found. Error out if the user has selected an option and it's requirements are not met. v2: - Do not silence pkg_check_modules. - Explicitly list the failing requirements. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2013-09-30cmake: Fix typo of waffle_build_htmldocsChad Versace1-1/+1
In Options.cmake, s/waffle_build_htmldoc/waffle_build_htmldocs/ Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2013-08-19cmake: Refactor detection of operating systemChad Versace1-1/+1
Add new module WaffleDefineOS that defines booleans `waffle_on_linux` and `waffle_on_mac`. Replace each check on CMAKE_SYSTEM_NAME with a check on one of these new bools. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2013-08-19cmake,readme: Move Waffle's CMake options to new file Options.cmakeChad Versace1-0/+15
This makes it easy for users to find all the custom CMake options defined by Waffle. Update the README accordingly. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>