Skip to content
Snippets Groups Projects
Commit c9bd34b4 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] remove obsolete file

parent 531c5217
No related branches found
No related tags found
No related merge requests found
SET(${PROJECT_NAME}_HEADERS
data.hh
utils.hh
flags.hh
definitions.hh
local_config.hh
solve.hh
solve_end_effector.hh
common_solve_methods.hh
common_solve_methods.inl
)
INSTALL(FILES
${${PROJECT_NAME}_HEADERS}
DESTINATION include/${CUSTOM_HEADER_DIR}
)
ADD_SUBDIRECTORY(cost)
ADD_SUBDIRECTORY(waypoints)
ADD_SUBDIRECTORY(solver)
SET(${PROJECT_NAME}_COST_HEADERS
costfunction_definition.hh
)
INSTALL(FILES
${${PROJECT_NAME}_COST_HEADERS}
DESTINATION include/${CUSTOM_HEADER_DIR}/cost
)
SET(${PROJECT_NAME}_SOLVER_HEADERS
solver-abstract.hpp
eiquadprog-fast.hpp
)
IF(USE_GLPK)
SET(${PROJECT_NAME}_SOLVER_HEADERS ${${PROJECT_NAME}_SOLVER_HEADERS}
glpk-wrapper.hpp
)
ENDIF(USE_GLPK)
INSTALL(FILES
${${PROJECT_NAME}_SOLVER_HEADERS}
DESTINATION include/${CUSTOM_HEADER_DIR}/solver
)
SET(${PROJECT_NAME}_WAYPOINTS_HEADERS
waypoints_definition.hh
waypoints_c0_dc0_c1.hh
waypoints_c0_dc0_dc1.hh
waypoints_c0_dc0_dc1_c1.hh
waypoints_c0_dc0_ddc0_c1.hh
waypoints_c0_dc0_ddc0_dc1_c1.hh
waypoints_c0_dc0_ddc0_ddc1_dc1_c1.hh
)
INSTALL(FILES
${${PROJECT_NAME}_WAYPOINTS_HEADERS}
DESTINATION include/${CUSTOM_HEADER_DIR}/waypoints
)
SET(LIBRARY_NAME ${PROJECT_NAME})
SET(${LIBRARY_NAME}_SOURCES
common_solve_methods.cpp
costfunction_definition.cpp
solver-abstract.cpp
eiquadprog-fast.cpp
computeCOMTraj.cpp
solve_0_step.cpp
utils.cpp
waypoints_definition.cpp
)
if (USE_GLPK)
SET(${LIBRARY_NAME}_SOURCES ${${LIBRARY_NAME}_SOURCES}
glpk-wrapper.cpp
)
endif(USE_GLPK)
ADD_LIBRARY(${LIBRARY_NAME} SHARED ${${LIBRARY_NAME}_SOURCES})
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ndcurves::ndcurves
hpp-centroidal-dynamics::hpp-centroidal-dynamics)
if (USE_GLPK)
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${glpk_LIBRARY})
endif(USE_GLPK)
INSTALL(TARGETS ${LIBRARY_NAME} DESTINATION lib)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment