Skip to content

Commit

Permalink
Testing pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaspar-Metsa committed Feb 11, 2024
1 parent 74840fa commit 5eb7bbc
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -229,45 +229,45 @@ set_target_properties(
add_test(NAME TestTimer COMMAND TestTimer)

# Room panel mob
set(room_mob
../src/roompanel/RoomMob.h
../src/roompanel/RoomMob.cpp
)
set(RoomMob roompanel/TestRoomMob.cpp)
add_executable(TestRoomMob ${room_mob} ${RoomMob})
add_dependencies(TestRoomMob glm)
target_link_libraries(TestRoomMob Qt5::Test Qt5::Gui Qt5::Widgets coverage_config)
set_target_properties(
TestRoomMob PROPERTIES
CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON
CXX_EXTENSIONS OFF
COMPILE_FLAGS "${WARNING_FLAGS}"
UNITY_BUILD ${USE_UNITY_BUILD}
)
add_test(NAME TestRoomMob COMMAND TestRoomMob)
#set(room_mob
# ../src/roompanel/RoomMob.h
# ../src/roompanel/RoomMob.cpp
#)
#set(RoomMob roompanel/TestRoomMob.cpp)
#add_executable(TestRoomMob ${room_mob} ${RoomMob})
#add_dependencies(TestRoomMob glm)
#target_link_libraries(TestRoomMob Qt5::Test Qt5::Gui Qt5::Widgets coverage_config)
#set_target_properties(
# TestRoomMob PROPERTIES
# CXX_STANDARD 17
# CXX_STANDARD_REQUIRED ON
# CXX_EXTENSIONS OFF
# COMPILE_FLAGS "${WARNING_FLAGS}"
# UNITY_BUILD ${USE_UNITY_BUILD}
#)
#add_test(NAME TestRoomMob COMMAND TestRoomMob)


# Room panel mobs
set(room_mobs
../src/roompanel/RoomMobs.h
../src/roompanel/RoomMobs.cpp
../src/roompanel/RoomMob.h
../src/roompanel/RoomMob.cpp
)
set(RoomMobs roompanel/TestRoomMobs.cpp)
add_executable(TestRoomMobs ${room_mobs} ${RoomMobs})
add_dependencies(TestRoomMobs glm)
target_link_libraries(TestRoomMobs Qt5::Test Qt5::Gui Qt5::Widgets coverage_config)
set_target_properties(
TestRoomMobs PROPERTIES
CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON
CXX_EXTENSIONS OFF
COMPILE_FLAGS "${WARNING_FLAGS}"
UNITY_BUILD ${USE_UNITY_BUILD}
)
add_test(NAME TestRoomMobs COMMAND TestRoomMobs)
#set(room_mobs
# ../src/roompanel/RoomMobs.h
# ../src/roompanel/RoomMobs.cpp
# ../src/roompanel/RoomMob.h
# ../src/roompanel/RoomMob.cpp
#)
#set(RoomMobs roompanel/TestRoomMobs.cpp)
#add_executable(TestRoomMobs ${room_mobs} ${RoomMobs})
#add_dependencies(TestRoomMobs glm)
#target_link_libraries(TestRoomMobs Qt5::Test Qt5::Gui Qt5::Widgets coverage_config)
#set_target_properties(
# TestRoomMobs PROPERTIES
# CXX_STANDARD 17
# CXX_STANDARD_REQUIRED ON
# CXX_EXTENSIONS OFF
# COMPILE_FLAGS "${WARNING_FLAGS}"
# UNITY_BUILD ${USE_UNITY_BUILD}
#)
#add_test(NAME TestRoomMobs COMMAND TestRoomMobs)

# Room panel manager
#set(room_manager
Expand Down

0 comments on commit 5eb7bbc

Please sign in to comment.