Browse Source

Remove underscores in project naming convention

Patrick-Christopher Mattulat 11 months ago
parent
commit
ef5f8d451e

+ 6 - 6
CMakeLists.txt

@@ -7,9 +7,9 @@
 ####################################################################################################################
 
 cmake_minimum_required(VERSION 3.17)
-project(ls_math VERSION 2023.1.0)
+project(ls-math VERSION 2023.1.0)
 
-set(MODULE_NAME_LS_MATH_VECTOR ls_math_vector)
+set(MODULE_NAME_LS_MATH_VECTOR ls-math-vector)
 
 set(GOOGLE_TEST_MODULE googletest-1.11.0)
 
@@ -127,7 +127,7 @@ endif ()
 ####################################################################################################################
 
 set(SOURCE_FILES_LS_MATH_VECTOR
-        ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_math/vector/Vector2.cpp)
+        ${CMAKE_CURRENT_SOURCE_DIR}/source/ls-math/vector/Vector2.cpp)
 
 ####################################################################################################################
 ####################################################################################################################
@@ -151,7 +151,7 @@ endif ()
 ####################################################################################################################
 
 ##########################################################
-# Build Tests (ls_math_vector)
+# Build Tests (ls-math-vector)
 ##########################################################
 
 if (${BUILD_LS_MATH_WITH_TESTS})
@@ -168,7 +168,7 @@ endif ()
 ####################################################################################################################
 
 ##########################################################
-# Build Library (ls_math_vector)
+# Build Library (ls-math-vector)
 ##########################################################
 
 message("${PROJECT_NAME}: Building ${MODULE_NAME_LS_MATH_VECTOR} library version ${PROJECT_VERSION}...")
@@ -198,7 +198,7 @@ endif ()
 ####################################################################################################################
 
 ##########################################################
-# Linking (ls_math_vector)
+# Linking (ls-math-vector)
 ##########################################################
 
 if (${BUILD_LS_MATH_WITH_TESTS})

+ 1 - 1
include/ls_math/core/types/VectorTypes.hpp → include/ls-math/core/types/VectorTypes.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2022-08-05
- * Changed:         2022-11-06
+ * Changed:         2023-06-02
  *
  * */
 

+ 2 - 2
include/ls_math/ls_math_core.hpp → include/ls-math/ls-math-core.hpp

@@ -3,13 +3,13 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2022-08-05
- * Changed:         2022-11-06
+ * Changed:         2023-06-02
  *
  * */
 
 #ifndef LS_MATH_LS_MATH_CORE_HPP
 #define LS_MATH_LS_MATH_CORE_HPP
 
-#include <ls_math/core/types/VectorTypes.hpp>
+#include <ls-math/core/types/VectorTypes.hpp>
 
 #endif

+ 2 - 2
include/ls_math/ls_math_vector.hpp → include/ls-math/ls-math-vector.hpp

@@ -3,13 +3,13 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2022-08-05
- * Changed:         2022-11-06
+ * Changed:         2023-06-02
  *
  * */
 
 #ifndef LS_MATH_LS_MATH_VECTOR_HPP
 #define LS_MATH_LS_MATH_VECTOR_HPP
 
-#include <ls_math/vector/Vector2.hpp>
+#include <ls-math/vector/Vector2.hpp>
 
 #endif

+ 2 - 2
include/ls_math/os/dynamic_goal.hpp → include/ls-math/os/dynamic-goal.hpp

@@ -11,10 +11,10 @@
 #define LS_MATH_DYNAMIC_GOAL_HPP
 
 #if defined(_WIN32) && defined(_MSC_VER)
-  #include <ls_math/os/windows/msvc_dll_definitions.hpp>
+  #include <ls-math/os/windows/msvc_dll_definitions.hpp>
 #endif
 #if defined(unix) || defined(__APPLE__) || defined(_WIN32) && defined(__GNUC__)
-  #include <ls_math/os/unix/unix_so_definitions.hpp>
+  #include <ls-math/os/unix/unix-so-definitions.hpp>
 #endif
 
 #endif

+ 1 - 1
include/ls_math/os/unix/unix_so_definitions.hpp → include/ls-math/os/unix/unix-so-definitions.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2022-11-06
- * Changed:         2022-11-06
+ * Changed:         2023-06-02
  *
  * */
 

+ 0 - 0
include/ls_math/os/windows/msvc_dll_definitions.hpp → include/ls-math/os/windows/msvc-dll-definitions.hpp


+ 2 - 2
include/ls_math/vector/Vector2.hpp → include/ls-math/vector/Vector2.hpp

@@ -11,8 +11,8 @@
 #define LS_MATH_VECTOR2_HPP
 
 #include <cstdlib>
-#include <ls_math/core/types/VectorTypes.hpp>
-#include <ls_math/os/dynamic_goal.hpp>
+#include <ls-math/core/types/VectorTypes.hpp>
+#include <ls-math/os/dynamic-goal.hpp>
 
 namespace ls::math::vector
 {

+ 1 - 1
source/ls_math/vector/Vector2.cpp → source/ls-math/vector/Vector2.cpp

@@ -9,7 +9,7 @@
 
 #include <cmath>
 #include <limits>
-#include <ls_math/vector/Vector2.hpp>
+#include <ls-math/vector/Vector2.hpp>
 
 using ls::math::core::type::vector2_component;
 using ls::math::core::type::vector2_components;

+ 1 - 1
test/cases/vector/Vector2Test.cpp

@@ -9,7 +9,7 @@
 
 #include <cmath>
 #include <gtest/gtest.h>
-#include <ls_math/ls_math_vector.hpp>
+#include <ls-math/ls-math-vector.hpp>
 
 using ls::math::core::type::vector2_components;
 using ls::math::core::type::vector_scalar;