Don't return unsupported effects from alGetEnumValue
[openal-soft.git] / XCompile.txt
blob9826d1740009fd969c98f26d4d740ed662a3504e
1 # Cross-compiling requires CMake 2.6 or newer. To cross-compile, first modify
2 # this file to set the proper settings and paths. Then use it from build/ like:
3 # cmake .. -DCMAKE_TOOLCHAIN_FILE=../XCompile.txt \
4 #          -DCMAKE_INSTALL_PREFIX=/usr/mingw32/mingw
5 # If you already have a toolchain file setup, you may use that instead of this
6 # file.
8 # the name of the target operating system
9 SET(CMAKE_SYSTEM_NAME Windows)
11 # which compilers to use for C and C++
12 SET(CMAKE_C_COMPILER mingw32-gcc)
13 SET(CMAKE_CXX_COMPILER mingw32-g++)
15 # here is the target environment located
16 SET(CMAKE_FIND_ROOT_PATH /usr/mingw32/mingw)
18 # adjust the default behaviour of the FIND_XXX() commands:
19 # search headers and libraries in the target environment, search 
20 # programs in the host environment
21 set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
22 set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
23 set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)