-
Notifications
You must be signed in to change notification settings - Fork 4
/
CMakeLists.txt
29 lines (24 loc) · 1.24 KB
/
CMakeLists.txt
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
# Authors: see AUTHORS.md at project root.
# CopyPolicy: released under the terms of the LGPLv2.1, see LICENSE at project root.
# URL: https://github.com/asrob-uc3m/robotDevastation
add_library(UtilsLib ManagerHub.hpp
ManagerHub.cpp
SDLUtils.hpp
SDLUtils.cpp
Vector2dBase.hpp
Vocabs.hpp)
target_include_directories(UtilsLib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
${SDL2_INCLUDE_DIR})
target_include_directories(UtilsLib PRIVATE ${SDL2_IMAGE_INCLUDE_DIR}
${SDL2_TTF_INCLUDE_DIR})
target_link_libraries(UtilsLib PUBLIC ${SDL2_LIBRARY}
ImageLib
InputLib
MentalMapLib
NetworkLib
MusicLib
UserInterfaceLib
ASROB::RobotInterfaces)
target_link_libraries(UtilsLib PRIVATE ${SDL2_IMAGE_LIBRARIES}
${SDL2_TTF_LIBRARIES}
ROBOTICSLAB::ColorDebug)