No description
- C 54.4%
- C++ 42.3%
- Makefile 3%
- CMake 0.2%
| Source | setup for android build | |
| .gitignore | cache files removed | |
| build.sh | setup for android build | |
| cmake_install.cmake | armv7 lib | |
| CMakeLists.txt | setup for android build | |
| libFreeImage.a | armv7 lib | |
| libFreeImage.so | armv7 lib | |
| Makefile | armv7 lib | |
| README.md | Update README.md | |
FreeImage
FreeImage with the CMake build system
Branches
- master FreeImage 3.17 with all formats
- only-png FreeImage 3.17 only with PNG enabled
- 3.18 FreeImage 3.18 only with BMP, JPEG and PNG enabled
Usage
Clone this repo (in the right branch) and use add_subdirectory in your root CMakeLists.txt file.
add_subdirectory(FreeImage)# if you want RGB color order instead of BGR
# target_compile_definitions(FreeImage PUBLIC FREEIMAGE_COLORORDER=1)
# ...
target_include_directories(YourTarget PUBLIC ${FreeImage_SOURCE_DIR}/Source)target_link_libraries(YourTarget FreeImage)