summaryrefslogtreecommitdiffstats
path: root/tests/CMakeLists.txt
blob: 07f7dd832b6fd509cb3a4e751d4ed189fd7b3b23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
LIST(APPEND TESTS_CC_SOURCES
   main.c
   helper.c
   spin.c
   particle.c
   user_door.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)