This will make the *.entries files the the authoritative place to define additional GL function prototypes. All generated header files are now placed inside the build directory so that nobody will ever try to touch them again.
28 lines
1.3 KiB
CMake
28 lines
1.3 KiB
CMake
# Don't treat any warnings as error as we take the source directly from
|
|
# upstream and just compile it.
|
|
set(CMAKE_C_FLAGS "-Wall")
|
|
set(CMAKE_CXX_FLAGS "-std=c++11 -Wall")
|
|
|
|
# Ensure -fPIC
|
|
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
|
|
include_directories(
|
|
${CMAKE_SOURCE_DIR}/src
|
|
${CMAKE_SOURCE_DIR}/external/android-emugl/shared
|
|
${CMAKE_SOURCE_DIR}/external/android-emugl/host/include
|
|
${CMAKE_BINARY_DIR}/external/android-emugl/host/include
|
|
${CMAKE_SOURCE_DIR}/external/android-emugl/shared/OpenglCodecCommon
|
|
${CMAKE_SOURCE_DIR}/external/android-emugl/host/libs
|
|
${CMAKE_SOURCE_DIR}/external/android-emugl/host/include/libOpenglRender
|
|
${CMAKE_SOURCE_DIR}/external/android-emugl/host/libs/GLESv1_dec
|
|
${CMAKE_BINARY_DIR}/external/android-emugl/host/libs/GLESv1_dec
|
|
${CMAKE_SOURCE_DIR}/external/android-emugl/host/libs/GLESv2_dec
|
|
${CMAKE_BINARY_DIR}/external/android-emugl/host/libs/GLESv2_dec
|
|
${CMAKE_SOURCE_DIR}/external/android-emugl/host/libs/renderControl_dec
|
|
${CMAKE_BINARY_DIR}/external/android-emugl/host/libs/renderControl_dec
|
|
${CMAKE_SOURCE_DIR}/external/android-emugl/host/libs/Translator/
|
|
${CMAKE_SOURCE_DIR}/external/android-emugl/host/libs/Translator/include
|
|
${MIRCLIENT_INCLUDE_DIRS})
|
|
|
|
add_subdirectory(host)
|
|
add_subdirectory(shared)
|