summaryrefslogtreecommitdiffstats
path: root/tests/CMakeLists.txt
blob: 20b3e39308d09eddd588574301ac8db3d214a6f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
LIST(APPEND TESTS_CC_SOURCES
   main.c
   )

include_directories(
    ${EINA_INCLUDE_DIRS}
   ${CMAKE_SOURCE_DIR}/src/include
   )

add_executable(tests ${TESTS_CC_SOURCES})

get_target_property(eiotas_LIB_FILE eiotas LOCATION)
target_link_libraries(tests
    ${EINA_LIBRARIES}
   ${eiotas_LIB_FILE}
   )

add_dependencies(tests eiotas)

add_test(Example_tests tests)