From 8d2073e2a994fdde21c8011cd1390ef1152e91b6 Mon Sep 17 00:00:00 2001 From: Jiri Vlasak Date: Mon, 12 Jul 2021 20:23:35 +0200 Subject: [PATCH] Rename header files --- CMakeLists.txt | 5 ++--- Doxyfile | 2 +- api/bcar.h => incl/bcar.hh | 0 api/pslot.h => incl/pslot.hh | 0 src/bcar.cc | 4 ++-- src/pslot.cc | 2 +- ut/bcar.t.cc | 2 +- ut/pslot.t.cc | 2 +- 8 files changed, 8 insertions(+), 9 deletions(-) rename api/bcar.h => incl/bcar.hh (100%) rename api/pslot.h => incl/pslot.hh (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 03b93af..de7def3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,20 +2,19 @@ cmake_minimum_required(VERSION 2.8) project(bcar) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/incl) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}/api) add_library(bcar SHARED src/bcar.cc ) set_target_properties(bcar PROPERTIES - PUBLIC_HEADER api/bcar.h + PUBLIC_HEADER incl/bcar.hh ) add_library(pslot SHARED src/pslot.cc ) set_target_properties(pslot PROPERTIES - PUBLIC_HEADER api/pslot.h + PUBLIC_HEADER incl/pslot.hh ) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/wvtest/cpp) diff --git a/Doxyfile b/Doxyfile index 2048335..620f862 100644 --- a/Doxyfile +++ b/Doxyfile @@ -790,7 +790,7 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = README.md CHANGELOG.md api/ src/ +INPUT = README.md CHANGELOG.md incl/ src/ # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses diff --git a/api/bcar.h b/incl/bcar.hh similarity index 100% rename from api/bcar.h rename to incl/bcar.hh diff --git a/api/pslot.h b/incl/pslot.hh similarity index 100% rename from api/pslot.h rename to incl/pslot.hh diff --git a/src/bcar.cc b/src/bcar.cc index 248ea49..2b4f92e 100644 --- a/src/bcar.cc +++ b/src/bcar.cc @@ -1,5 +1,5 @@ -#include "bcar.h" -#include "pslot.h" +#include "bcar.hh" +#include "pslot.hh" // kinematic constraints bool BicycleCar::drivable(const BicycleCar &bc) const diff --git a/src/pslot.cc b/src/pslot.cc index 336dec9..7b4a450 100644 --- a/src/pslot.cc +++ b/src/pslot.cc @@ -1,5 +1,5 @@ #include -#include "pslot.h" +#include "pslot.hh" void ParkingSlot::reverse_border() { diff --git a/ut/bcar.t.cc b/ut/bcar.t.cc index 78f2168..60db856 100644 --- a/ut/bcar.t.cc +++ b/ut/bcar.t.cc @@ -1,7 +1,7 @@ #include #include "wvtest.h" -#include "bcar.h" +#include "bcar.hh" WVTEST_MAIN("bcar basic geometry") { diff --git a/ut/pslot.t.cc b/ut/pslot.t.cc index 41fa77a..9d55b8a 100644 --- a/ut/pslot.t.cc +++ b/ut/pslot.t.cc @@ -1,7 +1,7 @@ #include #include "wvtest.h" -#include "pslot.h" +#include "pslot.hh" WVTEST_MAIN("pslot basic geometry") { -- 2.39.2