Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 18 lines (13 sloc) 0.965 kb
f0a7dcf @sim82 compiles on google native client.
authored
1 set( NACL ON )
2
3 set( PLATFORM_TRIPLET "i686-nacl" )
4 set( PLATFORM_PREFIX "/space/src/nacl_sdk/pepper_23/toolchain/linux_x86_newlib" )
5
6 set( CMAKE_SYSTEM_NAME "Linux" )
7 set( CMAKE_SYSTEM_PROCESSOR "i686" )
8 set( CMAKE_FIND_ROOT_PATH "${PLATFORM_PREFIX}/${PLATFORM_TRIPLET}" )
9 set( CMAKE_C_COMPILER "${PLATFORM_PREFIX}/bin/${PLATFORM_TRIPLET}-gcc" )
10 set( CMAKE_CXX_COMPILER "${PLATFORM_PREFIX}/bin/${PLATFORM_TRIPLET}-g++" )
11 set( CMAKE_STRIP "${PLATFORM_PREFIX}/bin/${PLATFORM_TRIPLET}-strip" )
12
13 set( LUA_MATH_LIBRARY "${PLATFORM_PREFIX}/x86_64-nacl/lib32/libm.a" CACHE PATH "" )
14 set( PEPPER_LIBRARY "${PLATFORM_PREFIX}/x86_64-nacl/lib32/libppapi.a" CACHE PATH "" )
15 set( PEPPER_CXX_LIBRARY "${PLATFORM_PREFIX}/x86_64-nacl/lib32/libppapi_cpp.a" CACHE PATH "" )
16 set( PEPPER_GLES2_LIBRARY "${PLATFORM_PREFIX}/x86_64-nacl/lib32/libppapi_gles2.a" CACHE PATH "" )
17
Something went wrong with that request. Please try again.