corrade¶
- Official
- Example
- Developed by Vladimír Vondruš
- Added by Pascal Thomet (pr-1646)
usage¶
set(components Containers Interconnect PluginManager TestSuite Utility)
foreach(comp ${components})
list(APPEND components_with_prefix Corrade::${comp})
endforeach()
hunter_add_package(corrade)
find_package(Corrade CONFIG REQUIRED COMPONENTS ${components})
add_executable(foo foo.cpp)
target_link_libraries(foo PRIVATE ${components_with_prefix})
About¶
corrade is a C++11/C++14 multiplatform utility library.
Known issues¶
Cross compilation to iOS and Android might fail since the build require to find corrade-rc
(native executable)
in your path. In order to build an iOS or Android package, first compile corrade-rc
natively, and add it to your path.