Skip to content
  • Tapani Pälli's avatar
    waffle: add support for building Waffle using NaCl toolchain · 98d0aea1
    Tapani Pälli authored
    
    
    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: default avatarTapani Pälli <tapani.palli@intel.com>
    Reviewed-by: default avatarChad Versace <chad.versace@intel.com>
    98d0aea1