Skip to content

Commit

Permalink
Merge pull request #353 from raphaellenain/CorrectionsMSVC
Browse files Browse the repository at this point in the history
Fixing Visual Studio (MSVC) compilation
  • Loading branch information
kerautret committed Apr 3, 2019
2 parents 337e9ce + 19320d6 commit cb1c6d2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
- Fix Documentation nightly update on github website.
(Bertrand Kerautret
[#348](https://github.com/DGtal-team/DGtalTools/pull/347))
- Fix compilation and execution with Visual Studio for volSurfaceRegularization.
(Raphael Lenain
[#353](https://github.com/DGtal-team/DGtalTools/pull/353))

- *volumetric*
- New tool to fill the interior of a voxel set (volFillInterior).
Expand Down
3 changes: 3 additions & 0 deletions estimators/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ if ( WITH_CGAL )
endif ( WITH_CGAL )

FOREACH(FILE ${DGTAL_TOOLS_SRC})
if(MSVC)
set_source_files_properties( ${FILE} PROPERTIES COMPILE_FLAGS "/bigobj" )
endif(MSVC)
add_executable(${FILE} ${FILE})
target_link_libraries (${FILE} ${DGTAL_LIBRARIES} ${DGtalToolsLibDependencies})
install(TARGETS ${FILE}
Expand Down
3 changes: 3 additions & 0 deletions estimators/volSurfaceRegularization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ Surface approximation options:
#include <boost/program_options/errors.hpp>
#include <DGtal/images/ImageSelector.h>
#include <DGtal/io/readers/GenericReader.h>
#include <DGtal/topology/SurfelNeighborhood.h>
#include <DGtal/topology/helpers/Surfaces.h>
#include <DGtal/geometry/volumes/distance/VoronoiMap.h>
#include <random>
#include <iomanip>
#include <regex>
Expand Down

0 comments on commit cb1c6d2

Please sign in to comment.