Skip to content

Commit e0ca337

Browse files
committed
ADD: rcpcd epfl dataset added for early testing
1 parent 69239cf commit e0ca337

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+207
-63
lines changed

CMakeLists.txt

Lines changed: 8 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ endif()
1919
#--------------------------------------------------------------------------
2020
# diffCheck dynamic lib
2121
#--------------------------------------------------------------------------
22-
2322
set(SHARED_LIB_NAME diffCheck)
2423

2524
file(GLOB_RECURSE SOURCES_LIB
@@ -46,60 +45,24 @@ target_include_directories(${SHARED_LIB_NAME}
4645
#--------------------------------------------------------------------------
4746
# 3rd party
4847
#--------------------------------------------------------------------------
49-
# glfw (pre-build binaries) -----------------------------------------------
50-
# TODO: add binaries to deps
51-
# Get the latest commit on branch
52-
download_submodule_project(glfw)
53-
set(GLFW_VERSION 3_3_4) # 3.3.4
54-
set(GLFW_LIB_PATH ${CMAKE_CURRENT_SOURCE_DIR}/deps/glfw/win/${GLFW_VERSION}/lib-vc2019)
55-
set(GLFW_INCLUDE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/deps/glfw/win/${GLFW_VERSION}/include)
56-
57-
add_library(glfw3 SHARED IMPORTED)
58-
set_target_properties(glfw3 PROPERTIES
59-
IMPORTED_LOCATION ${GLFW_LIB_PATH}/glfw3.dll
60-
IMPORTED_IMPLIB ${GLFW_LIB_PATH}/glfw3.lib
61-
INTERFACE_INCLUDE_DIRECTORIES ${GLFW_INCLUDE_PATH}
62-
)
63-
64-
target_link_libraries(${SHARED_LIB_NAME} PUBLIC glfw3)
65-
target_include_directories(${SHARED_LIB_NAME} PUBLIC ${GLFW_INCLUDE_PATH})
66-
67-
# TODO: replace with add_subdirectory() instead of binaries
68-
# glew (pre-build binaries) ----------------------------------------------
69-
download_submodule_project(glew)
70-
set(GLEW_VERSION 2_2_0) # 2.2.0
71-
set(GLEW_LIB_PATH ${CMAKE_CURRENT_SOURCE_DIR}/deps/glew/win/${GLEW_VERSION}/bin/Release/x64)
72-
set(GLEW_STATIC_LIB_PATH ${CMAKE_CURRENT_SOURCE_DIR}/deps/glew/win/${GLEW_VERSION}/lib/Release/x64)
73-
set(GLEW_INCLUDE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/deps/glew/win/${GLEW_VERSION}/include)
74-
75-
add_library(glew32 SHARED IMPORTED)
76-
set_target_properties(glew32 PROPERTIES
77-
IMPORTED_LOCATION ${GLEW_LIB_PATH}/glew32.dll
78-
IMPORTED_IMPLIB ${GLEW_STATIC_LIB_PATH}/glew32.lib
79-
INTERFACE_INCLUDE_DIRECTORIES ${GLEW_INCLUDE_PATH}
80-
)
81-
82-
target_link_libraries(${SHARED_LIB_NAME} PUBLIC glew32)
83-
target_include_directories(${SHARED_LIB_NAME} PUBLIC ${GLEW_INCLUDE_PATH})
84-
85-
# fmt (header-only)------------------------------------------------------
48+
# fmt (header-only)--------------------------------------------------------
8649
download_submodule_project(fmt)
8750
add_subdirectory(deps/fmt)
8851

8952
target_link_libraries(${SHARED_LIB_NAME} PUBLIC fmt::fmt)
9053

91-
# Eigen (header-only)----------------------------------------------------
54+
# Eigen (header-only)------------------------------------------------------
9255
download_submodule_project(eigen)
9356
add_subdirectory(deps/eigen)
9457

9558
target_link_libraries(${SHARED_LIB_NAME} PUBLIC Eigen3::Eigen)
9659

97-
# # # OpenGL (from system) ----------------------------------------------
60+
# OpenGL (from system) ----------------------------------------------------
9861
find_package(OpenGL REQUIRED)
9962
target_link_libraries(${SHARED_LIB_NAME} PUBLIC OpenGL::GL)
10063
target_link_libraries(${SHARED_LIB_NAME} INTERFACE OpenGL::GL)
10164

102-
# Libigl (header-only) --------------------------------------------------
65+
# Libigl + glfw (header-only) ---------------------------------------------
10366
download_submodule_project(libigl)
10467
# all dependecies for libigl: https://libigl.github.io/third-party/
10568
# set compiling flags for libigl
@@ -109,7 +72,7 @@ add_subdirectory(deps/libigl)
10972

11073
target_link_libraries(${SHARED_LIB_NAME} PUBLIC igl::glfw)
11174

112-
# Open3D (pre-build binaries /headless not visuals)-----------------------
75+
# Open3D (pre-build binaries /headless not visuals)------------------------
11376
download_submodule_project(open3d)
11477
set(O3D_VERSION 0_17) # 0.17.0
11578
set(OPEN3D_SHAREDLIB_PATH ${CMAKE_CURRENT_SOURCE_DIR}/deps/open3d/win/${O3D_VERSION}/bin)
@@ -126,10 +89,8 @@ set_target_properties(Open3D PROPERTIES
12689
target_link_libraries(${SHARED_LIB_NAME} PUBLIC Open3D)
12790
target_include_directories(${SHARED_LIB_NAME} PUBLIC ${OPEN3D_INCLUDE_PATH})
12891

129-
# ------------------------------------------------------------------------
130-
# copy all the dlls to the bin directory to make dll accessible
131-
# List of dynamic libraries that DiffCheck is linked against
132-
set(DEPENDENCIES glfw3 glew32 Open3D)
92+
# copy the o3d dll to the binary dir to make it available for the app
93+
set(DEPENDENCIES Open3D)
13394

13495
foreach(DEP_LIB ${DEPENDENCIES})
13596
add_custom_command(TARGET ${SHARED_LIB_NAME} POST_BUILD
@@ -140,7 +101,7 @@ foreach(DEP_LIB ${DEPENDENCIES})
140101
endforeach()
141102

142103
#--------------------------------------------------------------------------
143-
# executable
104+
# executable for prototyping
144105
#--------------------------------------------------------------------------
145106
set(APP_NAME_EXE diffCheckApp)
146107

6 KB
Binary file not shown.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:6a742fc54ce9bcae6a923bc4c87357aa72d098879550f18f4d0daee6584a1f81
3+
size 5100658
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:0370be151e6eab046852e578d07920f8b75433087c21a27ab329ed3ab0fb7093
3+
size 5068327
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:a48b3635c784d4f7a4751832dc2cac9bb86549ab6a439d57b188bd80f9b08982
3+
size 5088343
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:f40c89744284e4d469529b91776ca782db9b27d97958b97aa65ec2c62f110daa
3+
size 5073134
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:f064a16068455dd930ab336cb7caa12fdf278eb872315c6a28ca0f8e417def79
3+
size 1295133
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:1435a2b1cd184bf5474207f5969f0738e9ff23d1e2f2a31fe6fe3d37f11ae65a
3+
size 3006552
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:996225f5c8a261d9f0e2b9d9176d041d48b41db0687bbb5094af57b5f26dd145
3+
size 2210857
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:f69309388ffd9e3b00b48bf0b77eb98073ae9ec7179c9b403931cd6cc2b276f0
3+
size 2235595

0 commit comments

Comments
 (0)