Skip to content

Commit 3c02441

Browse files
committed
port mrpt_rtti
1 parent 5f2f6c5 commit 3c02441

File tree

6 files changed

+4
-35
lines changed

6 files changed

+4
-35
lines changed

modules/mrpt_rtti/CMakeLists.txt

+2-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
# All rights reserved.
66
# Released under BSD-3 license. See LICENSE file
77
# ------------------------------------------------------------------------------
8-
98
cmake_minimum_required(VERSION 3.16)
109

1110
# Tell CMake we'll use C++ for use in its tests/flags
12-
project(mrpt_rtti LANGUAGES C CXX)
11+
project(mrpt_system LANGUAGES C CXX)
1312

1413
# MRPT CMake scripts: "mrpt_xxx()"
1514
find_package(mrpt_common REQUIRED)
@@ -19,10 +18,9 @@ find_package(mrpt_typemeta REQUIRED)
1918
# define lib:
2019
set(LIB_SRCS
2120
src/CListOfClasses.cpp
22-
src/rtti_unittest.cpp
2321
src/CObject.cpp
24-
src/rtti-precomp.cpp
2522
src/internal_class_registry.cpp
23+
src/rtti_unittest.cpp
2624
)
2725

2826
set(LIB_PUBLIC_HDRS
@@ -42,4 +40,3 @@ mrpt_add_library(
4240
mrpt_core
4341
mrpt_typemeta
4442
)
45-

modules/mrpt_rtti/src/CListOfClasses.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
| Released under BSD License. See: https://www.mrpt.org/License |
88
+------------------------------------------------------------------------+ */
99

10-
#include "rtti-precomp.h" // Precompiled headers
11-
//
1210
#include <mrpt/rtti/CListOfClasses.h>
1311

1412
#include <algorithm>

modules/mrpt_rtti/src/CObject.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
| Released under BSD License. See: https://www.mrpt.org/License |
88
+------------------------------------------------------------------------+ */
99

10-
#include "rtti-precomp.h" // Precompiled headers
11-
//
1210
#include <mrpt/rtti/CObject.h>
1311

1412
#include <cstdio>

modules/mrpt_rtti/src/internal_class_registry.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,15 @@
77
| Released under BSD License. See: https://www.mrpt.org/License |
88
+------------------------------------------------------------------------+ */
99

10-
#include "rtti-precomp.h" // Precompiled headers
11-
//
10+
#include "internal_class_registry.h"
11+
1212
#include <mrpt/rtti/CObject.h>
1313

1414
#include <cstdarg>
1515
#include <iostream>
1616
#include <map>
1717
#include <shared_mutex>
1818

19-
#include "internal_class_registry.h"
20-
2119
using namespace mrpt::rtti;
2220

2321
/*---------------------------------------------------------------

modules/mrpt_rtti/src/rtti-precomp.cpp

-10
This file was deleted.

modules/mrpt_rtti/src/rtti-precomp.h

-12
This file was deleted.

0 commit comments

Comments
 (0)