Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeandersson committed Nov 27, 2014
1 parent 008848e commit 7a712ec
Show file tree
Hide file tree
Showing 21 changed files with 36 additions and 0 deletions.
2 changes: 2 additions & 0 deletions casadi/core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 2.8.6)

# Make the shared library prefix and suffix available in C++
add_definitions(-DSHARED_LIBRARY_PREFIX="${CMAKE_SHARED_LIBRARY_PREFIX}")
add_definitions(-DSHARED_LIBRARY_SUFFIX="${CMAKE_SHARED_LIBRARY_SUFFIX}")
Expand Down
1 change: 1 addition & 0 deletions casadi/interfaces/cplex/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 2.8.6)
include_directories(${CPLEX_INCLUDE_DIR})

casadi_plugin(QpSolver cplex
Expand Down
1 change: 1 addition & 0 deletions casadi/interfaces/csparse/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 2.8.6)
include_directories(${CSPARSE_INCLUDE_DIR})

casadi_plugin(LinearSolver csparse
Expand Down
1 change: 1 addition & 0 deletions casadi/interfaces/dsdp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 2.8.6)
include_directories(${DSDP_INCLUDE_DIR})

casadi_plugin(SdpSolver dsdp
Expand Down
1 change: 1 addition & 0 deletions casadi/interfaces/ipopt/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 2.8.6)
include_directories(${IPOPT_INCLUDE_DIRS})
link_directories(${IPOPT_LIBRARY_DIRS})

Expand Down
1 change: 1 addition & 0 deletions casadi/interfaces/knitro/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 2.8.6)
include_directories(${KNITRO_INCLUDE_DIR})

casadi_plugin(NlpSolver knitro
Expand Down
1 change: 1 addition & 0 deletions casadi/interfaces/lapack/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 2.8.6)
include_directories(../)

# Linear solver using dense LU factorization in LAPACK
Expand Down
2 changes: 2 additions & 0 deletions casadi/interfaces/ooqp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 2.8.6)

include_directories(../)
include_directories(${OOQP_INCLUDE_DIRS})

Expand Down
1 change: 1 addition & 0 deletions casadi/interfaces/qpoases/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 2.8.6)
include_directories(${QPOASES_INCLUDE_DIR})

casadi_plugin(QpSolver qpoases
Expand Down
2 changes: 2 additions & 0 deletions casadi/interfaces/slicot/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 2.8.6)

casadi_plugin(DpleSolver slicot
psd_indef_dple_internal.hpp
psd_indef_dple_internal.cpp
Expand Down
2 changes: 2 additions & 0 deletions casadi/interfaces/snopt/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 2.8.6)

include_directories(../)
include_directories(${SNOPT_INCLUDE_DIR})

Expand Down
2 changes: 2 additions & 0 deletions casadi/interfaces/sqic/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 2.8.6)

include_directories(../)
include_directories(${SQIC_INCLUDE_DIR})

Expand Down
2 changes: 2 additions & 0 deletions casadi/interfaces/sundials/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 2.8.6)

include_directories(../)
include_directories(${SUNDIALS_INCLUDE_DIR})

Expand Down
1 change: 1 addition & 0 deletions casadi/interfaces/tinyxml/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 2.8.6)
include_directories(${TINYXML_INCLUDE_DIR})

casadi_plugin(XmlFile tinyxml
Expand Down
2 changes: 2 additions & 0 deletions casadi/interfaces/worhp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 2.8.6)

include_directories(../)
include_directories(${WORHP_INCLUDE_DIR})

Expand Down
2 changes: 2 additions & 0 deletions docs/tutorials/python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
cmake_minimum_required(VERSION 2.8.6)

# add_subdirectory(src)
3 changes: 3 additions & 0 deletions docs/tutorials/python/src/nlp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
cmake_minimum_required(VERSION 2.8.6)


# How do I put here what the Makefile does now?
3 changes: 3 additions & 0 deletions docs/tutorials/python/src/symbolics/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
cmake_minimum_required(VERSION 2.8.6)


# How do I put here what the Makefile does now?
2 changes: 2 additions & 0 deletions swig/json/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 2.8.6)

# JSON/Haskell front-end
add_custom_target(json DEPENDS casadi_json)

Expand Down
2 changes: 2 additions & 0 deletions swig/matlab/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 2.8.6)

# MATLAB front-end
add_custom_target(matlab DEPENDS casadi_matlab)

Expand Down
2 changes: 2 additions & 0 deletions swig/python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 2.8.6)

# Python front-end
add_custom_target(python DEPENDS _casadi)

Expand Down

0 comments on commit 7a712ec

Please sign in to comment.