I want to to port a game to Android using this. This game uses CMake for building, so the best way to compile gl4es is to use add_subdirectory function. However, gl4es has following lines:
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin) |
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib) |
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib) |
|
install(TARGETS GL |
|
LIBRARY |
|
DESTINATION "/usr/lib/gl4es/" |
|
) |
|
install(FILES "../include/gl4esinit.h" "../include/gl4eshint.h" |
|
DESTINATION "/usr/include/gl4es/" |
|
) |
That is, gl4es has hard-coded paths to output directories, and it isn't suitable for users of the library.
And the library appears at the source code directory. So what is a known workaround for this issue?
Also do you have any suggestions on porting games using gl4es?
I want to to port a game to Android using this. This game uses CMake for building, so the best way to compile gl4es is to use
add_subdirectoryfunction. However, gl4es has following lines:gl4es/CMakeLists.txt
Lines 8 to 10 in 9e8037b
gl4es/src/CMakeLists.txt
Lines 226 to 232 in 9e8037b
That is, gl4es has hard-coded paths to output directories, and it isn't suitable for users of the library.
And the library appears at the source code directory. So what is a known workaround for this issue?
Also do you have any suggestions on porting games using gl4es?