From 44d18d00f8d8f9024c55e76c41bdcaafa6bd21f9 Mon Sep 17 00:00:00 2001 From: Daniel Wolf Date: Thu, 14 Apr 2016 20:30:26 +0200 Subject: [PATCH] Added header file to CMakeLists.txt This makes navigation easier for me. Plus, ReSharper didn't like not knowing the header files. --- CMakeLists.txt | 56 +++++++++++++++++++++++------------------------ src/Timed.cpp | 1 - src/Timeline.cpp | 1 - src/enumTools.cpp | 1 - 4 files changed, 28 insertions(+), 31 deletions(-) delete mode 100644 src/Timed.cpp delete mode 100644 src/Timeline.cpp delete mode 100644 src/enumTools.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index c8a3ac7..587ac55 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,30 +94,30 @@ configure_file(src/appInfo.cpp.in src/appInfo.cpp ESCAPE_QUOTES) set(SOURCE_FILES ${CMAKE_CURRENT_BINARY_DIR}/src/appInfo.cpp src/main.cpp - src/Phone.cpp - src/Shape.cpp - src/centiseconds.cpp - src/enumTools.cpp - src/mouthAnimation.cpp - src/phoneExtraction.cpp - src/platformTools.cpp - src/tools.cpp - src/audio/AudioStream.cpp - src/audio/DCOffset.cpp - src/audio/SampleRateConverter.cpp - src/audio/UnboundedStream.cpp - src/audio/voiceActivityDetection.cpp - src/audio/WaveFileReader.cpp - src/audio/waveFileWriting.cpp - src/stringTools.cpp - src/NiceCmdLineOutput.cpp - src/TablePrinter.cpp - src/ProgressBar.cpp - src/logging.cpp - src/Timed.cpp - src/TimeRange.cpp - src/Timeline.cpp - src/Exporter.cpp + src/Phone.cpp src/Phone.h + src/Shape.cpp src/Shape.h + src/centiseconds.cpp src/centiseconds.h + src/enumTools.h + src/mouthAnimation.cpp src/mouthAnimation.h + src/phoneExtraction.cpp src/phoneExtraction.h + src/platformTools.cpp src/platformTools.h + src/tools.cpp src/tools.h + src/audio/AudioStream.cpp src/audio/AudioStream.h + src/audio/DCOffset.cpp src/audio/DCOffset.h + src/audio/SampleRateConverter.cpp src/audio/SampleRateConverter.h + src/audio/UnboundedStream.cpp src/audio/UnboundedStream.h + src/audio/voiceActivityDetection.cpp src/audio/voiceActivityDetection.h + src/audio/WaveFileReader.cpp src/audio/WaveFileReader.h + src/audio/waveFileWriting.cpp src/audio/waveFileWriting.h + src/stringTools.cpp src/stringTools.h + src/NiceCmdLineOutput.cpp src/NiceCmdLineOutput.h + src/TablePrinter.cpp src/TablePrinter.h + src/ProgressBar.cpp src/ProgressBar.h + src/logging.cpp src/logging.h + src/Timed.h + src/TimeRange.cpp src/TimeRange.h + src/Timeline.h + src/Exporter.cpp src/Exporter.h ) add_executable(rhubarb ${SOURCE_FILES}) target_link_libraries(rhubarb ${Boost_LIBRARIES} cppFormat sphinxbase pocketSphinx) @@ -128,10 +128,10 @@ target_compile_options(rhubarb PUBLIC ${enableWarningsFlags}) set(TEST_FILES tests/stringToolsTests.cpp tests/TimelineTests.cpp - src/stringTools.cpp - src/Timeline.cpp - src/TimeRange.cpp - src/centiseconds.cpp + src/stringTools.cpp src/stringTools.h + src/Timeline.h + src/TimeRange.cpp src/TimeRange.h + src/centiseconds.cpp src/centiseconds.h ) add_executable(runTests ${TEST_FILES}) target_link_libraries(runTests gtest gmock gmock_main) diff --git a/src/Timed.cpp b/src/Timed.cpp deleted file mode 100644 index 242c896..0000000 --- a/src/Timed.cpp +++ /dev/null @@ -1 +0,0 @@ -#include "Timed.h" diff --git a/src/Timeline.cpp b/src/Timeline.cpp deleted file mode 100644 index 6e59b2c..0000000 --- a/src/Timeline.cpp +++ /dev/null @@ -1 +0,0 @@ -#include "Timeline.h" diff --git a/src/enumTools.cpp b/src/enumTools.cpp deleted file mode 100644 index ddc47be..0000000 --- a/src/enumTools.cpp +++ /dev/null @@ -1 +0,0 @@ -#include "enumTools.h" \ No newline at end of file