mastodont-c/tests/CMakeLists.txt
nekobit 05af07a450 Get fds function
FossilOrigin-Name: f2e861ab0b82431686099ea537def9b3344d390b3c7445643b9b09986e48be32
2023-03-06 03:14:01 +00:00

31 lines
816 B
CMake

include(../cmake/mastodont-config.cmake)
add_executable(get_feed get_feed.c)
target_compile_options(get_feed PUBLIC -std=c99 -Wall)
target_link_libraries(get_feed PUBLIC
${MASTODONT_LIBRARIES}
)
target_include_directories(get_feed PUBLIC
${MASTODONT_INCLUDE_DIRS}
)
# GUI demo
pkg_check_modules(EFL_ECORE efl-core)
if (EFL_ECORE_FOUND)
# EFL is clearly installed...
pkg_check_modules(EFL_ELEMENTARY elementary)
add_executable(get_feed_efl get_feed_efl.c)
target_compile_options(get_feed_efl PUBLIC -std=c99 -Wall)
target_link_libraries(get_feed_efl PUBLIC
${MASTODONT_LIBRARIES}
${EFL_ECORE_LIBRARIES}
${EFL_ELEMENTARY_LIBRARIES}
)
target_include_directories(get_feed_efl PUBLIC
${MASTODONT_INCLUDE_DIRS}
${EFL_ECORE_INCLUDE_DIRS}
${EFL_ELEMENTARY_INCLUDE_DIRS}
)
endif(EFL_ECORE_FOUND)