CMakeLists.txt 280 Bytes
Newer Older
Jan Möbius's avatar
Jan Möbius committed
1
find_package(GUROBI REQUIRED)
Martin Heistermann's avatar
Martin Heistermann committed
2

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)