Newer
Older
andreadelprete
committed
cmake_minimum_required(VERSION 2.6)
include_directories("${CLP_INCLUDE_DIR}")
endif()
andreadelprete
committed
SET(LIBRARY_NAME ${PROJECT_NAME})
SET(${LIBRARY_NAME}_SOURCES
centroidal_dynamics.cpp
solver_LP_abstract.cpp
solver_LP_qpoases.cpp
solver_LP_clp.cpp
util.cpp
logger.cpp
stop-watch.cpp
andreadelprete
committed
)
ADD_LIBRARY(${LIBRARY_NAME} SHARED ${${LIBRARY_NAME}_SOURCES})
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${CDD_LIBRARIES} ${qpOASES_LIBRARY})
andreadelprete
committed
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${CLP_LIBRARIES}
andreadelprete
committed
INSTALL(TARGETS ${LIBRARY_NAME} DESTINATION lib)