CMakeLists.txt 280 Bytes
Newer Older
Martin Heistermann's avatar
Martin Heistermann committed
1
2
find_package(Gurobi REQUIRED)

3
4
add_executable(test_c "test_c.c")
target_link_libraries(test_c Gurobi::Gurobi)
Martin Heistermann's avatar
Martin Heistermann committed
5
add_test(NAME test_c COMMAND test_c)
6
7
8

add_executable(test_cxx "test_cxx.cc")
target_link_libraries(test_cxx Gurobi::GurobiCXX)
Martin Heistermann's avatar
Martin Heistermann committed
9
10
11
add_test(NAME test_cxx COMMAND test_cxx)