diff options
-rw-r--r-- | CMakeLists.txt | 6 | ||||
-rwxr-xr-x | reformat | 2 | ||||
-rw-r--r-- | src/helper.cpp (renamed from helper.cpp) | 0 | ||||
-rw-r--r-- | src/helper.hpp (renamed from helper.hpp) | 0 | ||||
-rw-r--r-- | src/random.cpp (renamed from random.cpp) | 0 | ||||
-rw-r--r-- | src/random.hpp (renamed from random.hpp) | 0 | ||||
-rw-r--r-- | src/timedLatch.cpp (renamed from timedLatch.cpp) | 0 | ||||
-rw-r--r-- | src/timedLatch.hpp (renamed from timedLatch.hpp) | 0 | ||||
-rw-r--r-- | src/ur.cpp (renamed from ur.cpp) | 0 |
9 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 683ead2..9aa3965 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,11 @@ set(EXECUTABLE_NAME ur) set(SFML_LIBRARIES sfml-system sfml-window sfml-graphics) find_package(SFML 2.5 REQUIRED COMPONENTS system window graphics) -add_executable(${EXECUTABLE_NAME} ur.cpp helper.cpp timedLatch.cpp random.cpp) +add_executable(${EXECUTABLE_NAME} + src/ur.cpp + src/helper.cpp + src/timedLatch.cpp + src/random.cpp) target_link_libraries(${EXECUTABLE_NAME} ${SFML_LIBRARIES}) file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/res DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) @@ -1 +1 @@ -clang-format -i --style=Mozilla *.*pp +clang-format -i --style=Mozilla src/*.*pp diff --git a/helper.cpp b/src/helper.cpp index 8d6f3ce..8d6f3ce 100644 --- a/helper.cpp +++ b/src/helper.cpp diff --git a/helper.hpp b/src/helper.hpp index 3e7ffbb..3e7ffbb 100644 --- a/helper.hpp +++ b/src/helper.hpp diff --git a/random.cpp b/src/random.cpp index e94b191..e94b191 100644 --- a/random.cpp +++ b/src/random.cpp diff --git a/random.hpp b/src/random.hpp index e74267a..e74267a 100644 --- a/random.hpp +++ b/src/random.hpp diff --git a/timedLatch.cpp b/src/timedLatch.cpp index 66714a5..66714a5 100644 --- a/timedLatch.cpp +++ b/src/timedLatch.cpp diff --git a/timedLatch.hpp b/src/timedLatch.hpp index 77c7d49..77c7d49 100644 --- a/timedLatch.hpp +++ b/src/timedLatch.hpp |