|
@@ -23,9 +23,8 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0")
|
|
|
message("${PROJECT_NAME}: Adding include directories...")
|
|
|
|
|
|
include_directories(${CMAKE_CURRENT_LIST_DIR}/test/lib/googletest-1.8.1/googletest/include)
|
|
|
-include_directories(${CMAKE_CURRENT_LIST_DIR}/source/lib/nlohmann_json/include/nlohmann)
|
|
|
-include_directories(${CMAKE_CURRENT_LIST_DIR}/source/lib/rapid_xml/include)
|
|
|
-include_directories(${CMAKE_CURRENT_LIST_DIR}/source/lib/tiny_xml_2/include)
|
|
|
+include_directories(${CMAKE_CURRENT_LIST_DIR}/source/ls_std/lib/nlohmann_json/include/nlohmann)
|
|
|
+include_directories(${CMAKE_CURRENT_LIST_DIR}/source)
|
|
|
|
|
|
######################################################
|
|
|
# Add Other CMake Dependencies
|
|
@@ -39,93 +38,93 @@ add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/test/lib/googletest-1.8.1)
|
|
|
##########################################################
|
|
|
|
|
|
set(SOURCE_FILES
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/Integer.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/base/Class.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/base/Class.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/Integer.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/IBoxing.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/exception/IllegalArithmeticOperationException.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/base/Types.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/Boolean.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/Boolean.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/exception/IllegalArgumentException.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/Float.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/Float.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/Double.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/Double.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/String.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/String.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/time/Date.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/time/Date.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/File.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/File.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/exception/FileOperationException.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/FilePathSeparatorMatch.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/FilePathSeparator.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/utils/STLUtils.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/Long.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/Long.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/IWriter.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/FileWriter.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/FileWriter.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/exception/FileNotFoundException.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/IReader.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/FileReader.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/FileReader.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/NewLine.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/utils/RegexUtils.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/IStorable.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/StorableFile.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/StorableFile.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/logging/LogLevel.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/FileOutputStream.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/FileOutputStream.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/logging/Logger.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/logging/Logger.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/logging/LogLevel.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/logging/LogLevelValue.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/ISerializable.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/boxing/SerializableJSONInteger.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/boxing/SerializableJSONInteger.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/boxing/SerializableJSONLong.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/boxing/SerializableJSONLong.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/boxing/SerializableJSONString.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/boxing/SerializableJSONString.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/boxing/SerializableJSONFloat.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/boxing/SerializableJSONFloat.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/boxing/SerializableJSONDouble.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/boxing/SerializableJSONDouble.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/boxing/SerializableJSONBoolean.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/boxing/SerializableJSONBoolean.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/logic/StateMachine.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/logic/StateMachine.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/logic/State.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/logic/State.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/logic/StateConnection.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/logic/StateConnection.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/logic/StateMachineTypes.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/logic/SerializableJSONStateConnection.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/logic/SerializableJSONStateConnection.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/logic/SerializableJSONState.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/logic/SerializableJSONState.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/logic/SerializableJSONStateMachine.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/serialization/json/logic/SerializableJSONStateMachine.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/xml/XMLAttribute.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/xml/XMLAttribute.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/xml/XMLNode.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/xml/XMLNode.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/xml/XMLDocument.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/xml/XMLDeclaration.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/base/Version.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/base/Version.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/xml/XMLDeclaration.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/xml/XMLDocument.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/xml/XMLReader.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/xml/XMLReader.cpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/xml/XMLParseMode.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/xml/XMLParseData.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/xml/XMLReaderMock.hpp
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/source/io/xml/XMLReaderMock.cpp)
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/Integer.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/base/Class.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/base/Class.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/Integer.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/IBoxing.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/exception/IllegalArithmeticOperationException.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/base/Types.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/Boolean.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/Boolean.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/exception/IllegalArgumentException.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/Float.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/Float.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/Double.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/Double.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/String.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/String.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/time/Date.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/time/Date.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/File.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/File.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/exception/FileOperationException.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/FilePathSeparatorMatch.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/FilePathSeparator.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/utils/STLUtils.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/Long.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/Long.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/IWriter.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/FileWriter.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/FileWriter.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/exception/FileNotFoundException.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/IReader.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/FileReader.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/FileReader.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/NewLine.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/utils/RegexUtils.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/IStorable.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/StorableFile.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/StorableFile.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/logging/LogLevel.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/FileOutputStream.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/FileOutputStream.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/logging/Logger.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/logging/Logger.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/logging/LogLevel.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/logging/LogLevelValue.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/ISerializable.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/boxing/SerializableJSONInteger.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/boxing/SerializableJSONInteger.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/boxing/SerializableJSONLong.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/boxing/SerializableJSONLong.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/boxing/SerializableJSONString.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/boxing/SerializableJSONString.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/boxing/SerializableJSONFloat.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/boxing/SerializableJSONFloat.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/boxing/SerializableJSONDouble.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/boxing/SerializableJSONDouble.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/boxing/SerializableJSONBoolean.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/boxing/SerializableJSONBoolean.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/logic/StateMachine.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/logic/StateMachine.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/logic/State.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/logic/State.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/logic/StateConnection.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/logic/StateConnection.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/logic/StateMachineTypes.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/logic/SerializableJSONStateConnection.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/logic/SerializableJSONStateConnection.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/logic/SerializableJSONState.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/logic/SerializableJSONState.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/logic/SerializableJSONStateMachine.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/serialization/json/logic/SerializableJSONStateMachine.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLAttribute.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLAttribute.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLNode.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLNode.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLDocument.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLDeclaration.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/base/Version.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/base/Version.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLDeclaration.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLDocument.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLReader.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLReader.cpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLParseMode.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLParseData.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLReaderMock.hpp
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLReaderMock.cpp)
|
|
|
|
|
|
set(TEST_FILES
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test/cases/boxing/IntegerTest.cpp
|