Skip to content

Commit

Permalink
fix include paths and include dir names in CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Uecker committed Nov 20, 2024
1 parent d402bee commit 8a3be25
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion cpp/kiss_icp/include/kiss_icp/core/Registration.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <sophus/se3.hpp>
#include <vector>

#include "VoxelHashMap.hpp"
#include "kiss_icp/core/VoxelHashMap.hpp"

namespace kiss_icp {

Expand Down
2 changes: 1 addition & 1 deletion cpp/kiss_icp/include/kiss_icp/core/VoxelHashMap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <sophus/se3.hpp>
#include <vector>

#include "VoxelUtils.hpp"
#include "kiss_icp/core/VoxelUtils.hpp"

namespace kiss_icp {
struct VoxelHashMap {
Expand Down
6 changes: 3 additions & 3 deletions cpp/kiss_icp/include/kiss_icp/pipeline/KissICP.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
#include <tuple>
#include <vector>

#include "Registration.hpp"
#include "Threshold.hpp"
#include "VoxelHashMap.hpp"
#include "kiss_icp/core/Registration.hpp"
#include "kiss_icp/core/Threshold.hpp"
#include "kiss_icp/core/VoxelHashMap.hpp"

namespace kiss_icp::pipeline {

Expand Down
4 changes: 2 additions & 2 deletions cpp/kiss_icp/src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
add_library(kiss_icp_core STATIC)
target_sources(kiss_icp_core PRIVATE Registration.cpp Deskew.cpp VoxelHashMap.cpp VoxelUtils.cpp Preprocessing.cpp
Threshold.cpp)
target_include_directories(kiss_icp_core PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include/kiss_icp/core>
$<INSTALL_INTERFACE:include/kiss_icp/core>)
target_include_directories(kiss_icp_core PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>)
target_link_libraries(kiss_icp_core PUBLIC Eigen3::Eigen tsl::robin_map Sophus::Sophus)
target_link_libraries(kiss_icp_core PRIVATE TBB::tbb)
set_global_target_properties(kiss_icp_core)
Expand Down
2 changes: 1 addition & 1 deletion cpp/kiss_icp/src/core/Deskew.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "Deskew.hpp"
#include "kiss_icp/core/Deskew.hpp"

#include <tbb/parallel_for.h>

Expand Down
2 changes: 1 addition & 1 deletion cpp/kiss_icp/src/core/Preprocessing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "Preprocessing.hpp"
#include "kiss_icp/core/Preprocessing.hpp"

#include <tsl/robin_map.h>

Expand Down
6 changes: 3 additions & 3 deletions cpp/kiss_icp/src/core/Registration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "Registration.hpp"
#include "kiss_icp/core/Registration.hpp"

#include <tbb/blocked_range.h>
#include <tbb/global_control.h>
Expand All @@ -35,8 +35,8 @@
#include <sophus/so3.hpp>
#include <tuple>

#include "VoxelHashMap.hpp"
#include "VoxelUtils.hpp"
#include "kiss_icp/core/VoxelHashMap.hpp"
#include "kiss_icp/core/VoxelUtils.hpp"

namespace Eigen {
using Matrix6d = Eigen::Matrix<double, 6, 6>;
Expand Down
2 changes: 1 addition & 1 deletion cpp/kiss_icp/src/core/Threshold.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "Threshold.hpp"
#include "kiss_icp/core/Threshold.hpp"

#include <Eigen/Geometry>
#include <cmath>
Expand Down
4 changes: 2 additions & 2 deletions cpp/kiss_icp/src/core/VoxelHashMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "VoxelHashMap.hpp"
#include "kiss_icp/core/VoxelHashMap.hpp"

#include <Eigen/Core>
#include <algorithm>
#include <sophus/se3.hpp>
#include <vector>

#include "VoxelUtils.hpp"
#include "kiss_icp/core/VoxelUtils.hpp"

namespace {
using kiss_icp::Voxel;
Expand Down
2 changes: 1 addition & 1 deletion cpp/kiss_icp/src/core/VoxelUtils.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "VoxelUtils.hpp"
#include "kiss_icp/core/VoxelUtils.hpp"

#include <tsl/robin_map.h>

Expand Down
4 changes: 2 additions & 2 deletions cpp/kiss_icp/src/metrics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
# SOFTWARE.
add_library(kiss_icp_metrics STATIC)
target_sources(kiss_icp_metrics PRIVATE Metrics.cpp)
target_include_directories(kiss_icp_metrics PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include/kiss_icp/metrics>
$<INSTALL_INTERFACE:include/kiss_icp/metrics>)
target_include_directories(kiss_icp_metrics PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>)
target_link_libraries(kiss_icp_metrics PUBLIC Eigen3::Eigen)
set_global_target_properties(kiss_icp_metrics)

Expand Down
2 changes: 1 addition & 1 deletion cpp/kiss_icp/src/metrics/Metrics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "Metrics.hpp"
#include "kiss_icp/metrics/Metrics.hpp"

#include <Eigen/Core>
#include <Eigen/Geometry>
Expand Down
4 changes: 2 additions & 2 deletions cpp/kiss_icp/src/pipeline/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

add_library(kiss_icp_pipeline STATIC)
target_sources(kiss_icp_pipeline PRIVATE KissICP.cpp)
target_include_directories(kiss_icp_pipeline PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include/kiss_icp/pipeline>
$<INSTALL_INTERFACE:include/kiss_icp/pipeline>)
target_include_directories(kiss_icp_pipeline PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>)
target_link_libraries(kiss_icp_pipeline PUBLIC kiss_icp_core)
set_global_target_properties(kiss_icp_pipeline)

Expand Down
10 changes: 5 additions & 5 deletions cpp/kiss_icp/src/pipeline/KissICP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

#include "KissICP.hpp"
#include "kiss_icp/pipeline/KissICP.hpp"

#include <Eigen/Core>
#include <vector>

#include "Deskew.hpp"
#include "Preprocessing.hpp"
#include "Registration.hpp"
#include "VoxelHashMap.hpp"
#include "kiss_icp/core/Deskew.hpp"
#include "kiss_icp/core/Preprocessing.hpp"
#include "kiss_icp/core/Registration.hpp"
#include "kiss_icp/core/VoxelHashMap.hpp"

namespace kiss_icp::pipeline {

Expand Down

0 comments on commit 8a3be25

Please sign in to comment.