summaryrefslogtreecommitdiffstats
path: root/tests/CMakeLists.txt
blob: 136ce69c229bac28eee498234bd7e9dec4c782bf (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(edoors_LIB_FILE edoors LOCATION)
target_link_libraries(tests
    ${EINA_LIBRARIES}
   ${edoors_LIB_FILE}
   )

add_dependencies(tests edoors)

add_test(Example_tests tests)