summaryrefslogtreecommitdiffstats
path: root/test/unit/ui/CMakeLists.txt
blob: b0d9ce2a4f822fc556f660b3fed9b4792d51bbb5 (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
25
26
27
28
29
30
31
set(SRC_DIR ${colobot_SOURCE_DIR}/src)

include_directories(
.
${SRC_DIR}
${GTEST_INCLUDE_DIR}
${GMOCK_INCLUDE_DIR}
)

# add_executable(edit_test
# ${SRC_DIR}/common/event.cpp
# ${SRC_DIR}/common/logger.cpp
# ${SRC_DIR}/common/misc.cpp
# ${SRC_DIR}/common/profile.cpp
# ${SRC_DIR}/common/iman.cpp
# ${SRC_DIR}/common/stringutils.cpp
# ${SRC_DIR}/graphics/engine/text.cpp
# ${SRC_DIR}/ui/button.cpp
# ${SRC_DIR}/ui/control.cpp
# ${SRC_DIR}/ui/edit.cpp
# ${SRC_DIR}/ui/scroll.cpp
# stubs/app_stub.cpp
# stubs/engine_stub.cpp
# stubs/particle_stub.cpp
# stubs/restext_stub.cpp
# stubs/robotmain_stub.cpp
# edit_test.cpp)
# target_link_libraries(edit_test gtest gmock ${SDL_LIBRARY} ${SDLTTF_LIBRARY} ${Boost_LIBRARIES})
# 
# TODO: Edit test doesn't work, comment it away for now
# add_test(edit_test ./edit_test)