Skip to content
Snippets Groups Projects
Commit 17c6bd83 authored by daveabiy's avatar daveabiy
Browse files

Main compilor for windows

parent d9c2a111
No related branches found
No related tags found
No related merge requests found
cmake_minimum_required(VERSION 3.3)
project(LAGRANGIAN)
find_package(SCIP REQUIRED)
include_directories(${SCIP_INCLUDE_DIRS})
add_executable(LAGRANGIAN
SRC/relax_lagr.cpp
src/cmain.c
# link to math library if it is available
find_library(LIBM m)
if(NOT LIBM)
set(LIBM "")
endif()
target_link_libraries(LAGRANGIAN ${SCIP_LIBRARIES} ${LIBM})
if( TARGET examples )
add_dependencies( examples LAGRANGIAN )
endif()
#
# add check subdirectory for tests
#
add_subdirectory(check)
enable_testing()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment