Refactoring: Using camelCase throughout

This commit is contained in:
Daniel Wolf 2015-12-29 16:26:01 +01:00
parent acd13e2890
commit 5c0fe24fae
24 changed files with 33 additions and 33 deletions

View File

@ -84,22 +84,22 @@ set_target_properties(gtest_main PROPERTIES FOLDER lib)
# Define executable
include_directories("src" "src/audio_input")
configure_file(src/app_info.cpp.in src/app_info.cpp ESCAPE_QUOTES)
configure_file(src/appInfo.cpp.in src/appInfo.cpp ESCAPE_QUOTES)
set(SOURCE_FILES
${CMAKE_CURRENT_BINARY_DIR}/src/app_info.cpp
${CMAKE_CURRENT_BINARY_DIR}/src/appInfo.cpp
src/main.cpp
src/Phone.cpp
src/Shape.cpp
src/centiseconds.cpp
src/mouth_animation.cpp
src/phone_extraction.cpp
src/platform_tools.cpp
src/mouthAnimation.cpp
src/phoneExtraction.cpp
src/platformTools.cpp
src/tools.cpp
src/audio_input/ChannelDownmixer.cpp
src/audio_input/SampleRateConverter.cpp
src/audio_input/WaveFileReader.cpp
src/audio_input/wave_file_writing.cpp
src/string_tools.cpp
src/audioInput/ChannelDownmixer.cpp
src/audioInput/SampleRateConverter.cpp
src/audioInput/WaveFileReader.cpp
src/audioInput/waveFileWriting.cpp
src/stringTools.cpp
)
add_executable(rhubarb ${SOURCE_FILES})
target_link_libraries(rhubarb ${Boost_LIBRARIES} cppFormat sphinxbase pocketSphinx)
@ -108,8 +108,8 @@ target_compile_options(rhubarb PUBLIC ${enableWarningsFlags})
# Define test project
#include_directories("${gtest_SOURCE_DIR}/include")
set(TEST_FILES
tests/string_tools_tests.cpp
src/string_tools.cpp
tests/stringToolsTests.cpp
src/stringTools.cpp
)
add_executable(runTests ${TEST_FILES})
target_link_libraries(runTests gtest gmock gmock_main)

4
src/appInfo.cpp.in Normal file
View File

@ -0,0 +1,4 @@
#include "appInfo.h"
const std::string appName = "@appName@";
const std::string appVersion = "@appVersion@";

View File

@ -1,4 +0,0 @@
#include "app_info.h"
const std::string appName = "@appName@";
const std::string appVersion = "@appVersion@";

View File

@ -1,6 +1,6 @@
#include <format.h>
#include "WaveFileReader.h"
#include "io_tools.h"
#include "ioTools.h"
using std::runtime_error;
using fmt::format;

View File

@ -1,6 +1,6 @@
#include <fstream>
#include "wave_file_writing.h"
#include "io_tools.h"
#include "waveFileWriting.h"
#include "ioTools.h"
using namespace little_endian;

View File

@ -3,11 +3,11 @@
#include <boost/property_tree/xml_parser.hpp>
#include <format.h>
#include <tclap/CmdLine.h>
#include "audio_input/WaveFileReader.h"
#include "phone_extraction.h"
#include "mouth_animation.h"
#include "platform_tools.h"
#include "app_info.h"
#include "audioInput/WaveFileReader.h"
#include "phoneExtraction.h"
#include "mouthAnimation.h"
#include "platformTools.h"
#include "appInfo.h"
using std::exception;
using std::string;

View File

@ -1,4 +1,4 @@
#include "mouth_animation.h"
#include "mouthAnimation.h"
#include <boost/utility.hpp>
using std::map;

View File

@ -1,10 +1,10 @@
#include <iostream>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
#include "phone_extraction.h"
#include "audio_input/SampleRateConverter.h"
#include "audio_input/ChannelDownmixer.h"
#include "platform_tools.h"
#include "phoneExtraction.h"
#include "audioInput/SampleRateConverter.h"
#include "audioInput/ChannelDownmixer.h"
#include "platformTools.h"
#include "tools.h"
extern "C" {

View File

@ -5,7 +5,7 @@
#include <chrono>
#include <ratio>
#include <memory>
#include "audio_input/AudioStream.h"
#include "audioInput/AudioStream.h"
#include "Phone.h"
#include "centiseconds.h"

View File

@ -3,7 +3,7 @@
#include <boost/predef.h>
#include <format.h>
#include "platform_tools.h"
#include "platformTools.h"
using boost::filesystem::path;

View File

@ -1,4 +1,4 @@
#include "string_tools.h"
#include "stringTools.h"
#include <boost/algorithm/string/trim.hpp>
using std::string;

View File

@ -1,5 +1,5 @@
#include <gmock/gmock.h>
#include "string_tools.h"
#include "stringTools.h"
using namespace testing;