Whitespace cleanup

This commit is contained in:
Patricia Aas 2020-11-29 19:28:42 +01:00
parent fd6e33711b
commit f384d4aa08
12 changed files with 9 additions and 15 deletions

View File

@ -43,4 +43,4 @@ TEST(LcdTest, Twelve) {
int main(int argc, char * argv[]) { int main(int argc, char * argv[]) {
testing::InitGoogleTest(&argc, argv); testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS(); return RUN_ALL_TESTS();
} }

View File

@ -9,4 +9,4 @@ add_subdirectory(src)
add_subdirectory(test) add_subdirectory(test)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/assets/maze.png DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/bin) file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/assets/maze.png DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/bin)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/assets/sprites32.png DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/bin) file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/assets/sprites32.png DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/bin)

View File

@ -1,3 +1,3 @@
file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp") file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp")
add_library(libpacman ${sources}) add_library(libpacman ${sources})
target_link_libraries(libpacman sdl2::sdl2 sdl2_image::sdl2_image) target_link_libraries(libpacman sdl2::sdl2 sdl2_image::sdl2_image)

View File

@ -1,4 +1,3 @@
file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp") file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp")
add_executable(pacman ${sources}) add_executable(pacman ${sources})
target_link_libraries(pacman libpacman) target_link_libraries(pacman libpacman)

View File

@ -7,4 +7,4 @@ add_executable(pacman_tests tests.cpp)
target_link_libraries(pacman_tests GTest::GTest libpacman) target_link_libraries(pacman_tests GTest::GTest libpacman)
gtest_discover_tests(pacman_tests TEST_PREFIX pacman:) gtest_discover_tests(pacman_tests TEST_PREFIX pacman:)
add_test(NAME monolithic COMMAND pacman_tests) add_test(NAME monolithic COMMAND pacman_tests)

View File

@ -11,4 +11,4 @@ TEST(PacManTest, InitialPosition) {
int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
testing::InitGoogleTest(&argc, argv); testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS(); return RUN_ALL_TESTS();
} }

View File

@ -20,4 +20,4 @@ class ConanDependencies(ConanFile):
self.copy('*', dst='qml', src='qml') self.copy('*', dst='qml', src='qml')
self.copy('*', dst='translations', src='translations') self.copy('*', dst='translations', src='translations')
self.copy('*', dst='resources', src='resources') self.copy('*', dst='resources', src='resources')
self.copy("license*", dst="licenses", folder=True, ignore_case=True) self.copy("license*", dst="licenses", folder=True, ignore_case=True)

View File

@ -1,3 +1,3 @@
file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp") file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp")
add_library(libpomodoro ${sources}) add_library(libpomodoro ${sources})
target_link_libraries(libpomodoro Qt5::Core Qt5::Gui Qt5::Widgets) target_link_libraries(libpomodoro Qt5::Core Qt5::Gui Qt5::Widgets)

View File

@ -1,5 +1 @@
//
// Created by patricia on 11/28/2020.
//
#include "Pomodoro.hpp" #include "Pomodoro.hpp"

View File

@ -1,4 +1,3 @@
file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp") file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp")
add_executable(pomodoro ${sources}) add_executable(pomodoro ${sources})
target_link_libraries(pomodoro libpomodoro Qt5::Core Qt5::Gui Qt5::Widgets) target_link_libraries(pomodoro libpomodoro Qt5::Core Qt5::Gui Qt5::Widgets)

View File

@ -7,4 +7,4 @@ add_executable(pomodoro_tests tests.cpp)
target_link_libraries(pomodoro_tests GTest::GTest libpomodoro) target_link_libraries(pomodoro_tests GTest::GTest libpomodoro)
gtest_discover_tests(pomodoro_tests TEST_PREFIX pomodoro:) gtest_discover_tests(pomodoro_tests TEST_PREFIX pomodoro:)
add_test(NAME monolithic COMMAND pomodoro_tests) add_test(NAME monolithic COMMAND pomodoro_tests)

View File

@ -7,4 +7,4 @@ TEST(PomodoroTest, Init) {
int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
testing::InitGoogleTest(&argc, argv); testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS(); return RUN_ALL_TESTS();
} }