Skip to content

Commit 8a2652d

Browse files
committed
Merge branch 'main' into distance_calculation_visualisation
2 parents 462fea0 + 56dff2e commit 8a2652d

File tree

64 files changed

+1866
-320
lines changed

Some content is hidden

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

64 files changed

+1866
-320
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ temp/
8585
## Python
8686
#######################################
8787
# Byte-compiled / optimized / DLL files
88-
__pycache__/
88+
**/__pycache__/
8989
*.py[cod]
9090
*$py.class
9191

CMakeLists.txt

Lines changed: 39 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,6 @@ target_include_directories(${APP_NAME_EXE}
115115
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src
116116
)
117117

118-
#--------------------------------------------------------------------------
119-
# Tests
120-
#--------------------------------------------------------------------------
121-
122-
# include(CTest)
123-
# enable_testing()
124-
125-
# add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/tests/global_registrations)
126-
127118
#--------------------------------------------------------------------------
128119
# pybind11
129120
#--------------------------------------------------------------------------
@@ -167,4 +158,42 @@ if (BUILD_PYTHON_MODULE)
167158
)
168159
endforeach()
169160

170-
endif()
161+
endif()
162+
163+
#--------------------------------------------------------------------------
164+
# Tests
165+
#--------------------------------------------------------------------------
166+
167+
# include(CTest)
168+
# enable_testing()
169+
# add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/deps/googletest)
170+
# set(TESTS_OUT_DIR ${CMAKE_BINARY_DIR}/tests/)
171+
172+
173+
# # Unit testing ------------------------------------------------------------
174+
# set(UNIT_TESTS unit_tests)
175+
# add_executable(${UNIT_TESTS} tests/unit_tests/DFPointCloudTest.cc)
176+
# set_target_properties(${UNIT_TESTS} PROPERTIES
177+
# RUNTIME_OUTPUT_DIRECTORY ${TESTS_OUT_DIR}
178+
# )
179+
180+
# target_link_libraries(${UNIT_TESTS} gtest gtest_main)
181+
# target_link_libraries(${UNIT_TESTS} ${SHARED_LIB_NAME})
182+
183+
# add_test(NAME ${UNIT_TESTS} COMMAND ${UNIT_TESTS})
184+
185+
# Integration testing -----------------------------------------------------
186+
# Component testing -------------------------------------------------------
187+
# etc ---------------------------------------------------------------------
188+
189+
# # TODO: a better way to copy the dlls to the tests directory for the tests
190+
# # get all the files -dlls in the bin directory and copy them one by one to tests dir
191+
# file(GLOB files ${CMAKE_BINARY_DIR}/bin/Release/*.dll)
192+
# foreach(file ${files})
193+
# message(STATUS "Copying ${file} to ${TESTS_OUT_DIR}")
194+
# add_custom_command(TARGET ${UNIT_TESTS} POST_BUILD
195+
# COMMAND ${CMAKE_COMMAND} -E copy
196+
# ${file}
197+
# ${TESTS_OUT_DIR}/Release
198+
# )
199+
# endforeach()

assets/icon_pool/cloud1.png

-12 KB
Binary file not shown.

assets/icon_pool/cloud1.xcf

-2.93 KB
Binary file not shown.

assets/icon_pool/cloud2.png

-10.5 KB
Binary file not shown.

assets/icon_pool/cloud2.xcf

-4.77 KB
Binary file not shown.
-12.5 KB
Binary file not shown.
-4.85 KB
Binary file not shown.
-11.5 KB
Binary file not shown.
-5.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)