1 Star 0 Fork 3

奔跑的瓦力/MPC-Control

forked from 林树/MPC-Control 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 673 Bytes
一键复制 编辑 原始数据 按行查看 历史
root 提交于 2018-06-12 20:12 . impliment!
project(MPC)
cmake_minimum_required (VERSION 3.5)
# -g allows for gdb debugging
# turn on -03 for best performance
add_definitions(-std=c++11 -O3)
set(CXX_FLAGS "-Wall")
set(CMAKE_CXX_FLAGS "${CXX_FLAGS}")
set(sources src/MPC.cpp src/main.cpp)
include_directories(/usr/local/include)
link_directories(/usr/local/lib)
include_directories(src/Eigen-3.3)
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
include_directories(/usr/local/opt/openssl/include)
link_directories(/usr/local/opt/openssl/lib)
link_directories(/usr/local/Cellar/libuv/1*/lib)
endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
add_executable(mpc ${sources})
target_link_libraries(mpc ipopt z ssl uv uWS)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mad_world/MPC-Control.git
git@gitee.com:mad_world/MPC-Control.git
mad_world
MPC-Control
MPC-Control
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385