-
Notifications
You must be signed in to change notification settings - Fork 4
/
nacl_32.cmake
17 lines (13 loc) · 965 Bytes
/
nacl_32.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
set( NACL ON )
set( PLATFORM_TRIPLET "i686-nacl" )
set( PLATFORM_PREFIX "/space/src/nacl_sdk/pepper_23/toolchain/linux_x86_newlib" )
set( CMAKE_SYSTEM_NAME "Linux" )
set( CMAKE_SYSTEM_PROCESSOR "i686" )
set( CMAKE_FIND_ROOT_PATH "${PLATFORM_PREFIX}/${PLATFORM_TRIPLET}" )
set( CMAKE_C_COMPILER "${PLATFORM_PREFIX}/bin/${PLATFORM_TRIPLET}-gcc" )
set( CMAKE_CXX_COMPILER "${PLATFORM_PREFIX}/bin/${PLATFORM_TRIPLET}-g++" )
set( CMAKE_STRIP "${PLATFORM_PREFIX}/bin/${PLATFORM_TRIPLET}-strip" )
set( LUA_MATH_LIBRARY "${PLATFORM_PREFIX}/x86_64-nacl/lib32/libm.a" CACHE PATH "" )
set( PEPPER_LIBRARY "${PLATFORM_PREFIX}/x86_64-nacl/lib32/libppapi.a" CACHE PATH "" )
set( PEPPER_CXX_LIBRARY "${PLATFORM_PREFIX}/x86_64-nacl/lib32/libppapi_cpp.a" CACHE PATH "" )
set( PEPPER_GLES2_LIBRARY "${PLATFORM_PREFIX}/x86_64-nacl/lib32/libppapi_gles2.a" CACHE PATH "" )