Skip to content

Commit f81b587

Browse files
committed
- removed Boost dependency
1 parent 6d331f3 commit f81b587

File tree

10 files changed

+10925
-274
lines changed

10 files changed

+10925
-274
lines changed

Changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
- removed Boost dependency
12
- update to Eigen 3.2.9
23
- added support for x86 compilation (thanks to Josef Kohout)
34
- added implementation of "Position-Based Elastic Rods" paper and a corresponding demo

Demos/DistanceFieldDemos/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ set(SIMULATION_LINK_LIBRARIES AntTweakBar glew PositionBasedDynamics Simulation)
22
set(SIMULATION_DEPENDENCIES AntTweakBar glew PositionBasedDynamics Simulation)
33

44
if(WIN32)
5-
set(SIMULATION_LINK_LIBRARIES freeglut opengl32.lib glu32.lib ${SIMULATION_LINK_LIBRARIES} ${Boost_LIBRARIES})
5+
set(SIMULATION_LINK_LIBRARIES freeglut opengl32.lib glu32.lib ${SIMULATION_LINK_LIBRARIES})
66
set(SIMULATION_DEPENDENCIES freeglut ${SIMULATION_DEPENDENCIES})
77
else()
88
find_package(GLUT REQUIRED)

Demos/SceneLoaderDemo/CMakeLists.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
set(SIMULATION_LINK_LIBRARIES AntTweakBar glew PositionBasedDynamics Simulation)
22
set(SIMULATION_DEPENDENCIES AntTweakBar glew PositionBasedDynamics Simulation)
33

4-
5-
set(Boost_USE_STATIC_LIBS ON)
6-
add_definitions(-DBOOST_ALL_NO_LIB)
7-
find_package( Boost 1.55 COMPONENTS filesystem system REQUIRED )
8-
include_directories( ${Boost_INCLUDE_DIR} )
9-
104
if(WIN32)
11-
set(SIMULATION_LINK_LIBRARIES freeglut opengl32.lib glu32.lib ${SIMULATION_LINK_LIBRARIES} ${Boost_LIBRARIES})
5+
set(SIMULATION_LINK_LIBRARIES freeglut opengl32.lib glu32.lib ${SIMULATION_LINK_LIBRARIES})
126
set(SIMULATION_DEPENDENCIES freeglut ${SIMULATION_DEPENDENCIES})
137
else()
148
find_package(GLUT REQUIRED)
@@ -18,7 +12,6 @@ else()
1812
${SIMULATION_LINK_LIBRARIES}
1913
${GLUT_LIBRARIES}
2014
${OPENGL_LIBRARIES}
21-
${Boost_LIBRARIES}
2215
)
2316
endif()
2417

Demos/SceneLoaderDemo/SceneLoaderDemo.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -830,8 +830,6 @@ void readScene()
830830
camPos = data.m_camPosition;
831831
camLookat = data.m_camLookat;
832832

833-
boost::filesystem::path basePath = boost::filesystem::path(sceneFileName).parent_path();
834-
835833
TimeManager::getCurrent()->setTimeStepSize(data.m_timeStepSize);
836834

837835
sceneName = data.m_sceneName;

0 commit comments

Comments
 (0)