hops
Functions
CMakeLists.txt File Reference

Functions

 if (NOT HOPS_LIBRARY_TYPE STREQUAL "HEADER_ONLY") target_sources(hops PRIVATE GurobiEnvironmentSingleton.hpp LinearProgram.hpp LinearProgram.cpp LinearProgramClpImpl.hpp LinearProgramFactory.hpp LinearProgramGurobiImpl.hpp LinearProgramSolution.hpp LinearProgramStatus.hpp) endif(NOT HOPS_LIBRARY_TYPE STREQUAL "HEADER_ONLY") set(GUROBI_ENABLE ON) find_package(GUROBI) if(GUROBI_FOUND) target_compile_definitions(hops INTERFACE HOPS_GUROBI_FOUND) target_compile_definitions(hops $
 
HOPS_GUROBI_FOUND target_include_directories (hops INTERFACE ${GUROBI_INCLUDE_DIR}) target_include_directories(hops $
 

Function Documentation

◆ if()

if ( NOT HOPS_LIBRARY_TYPE STREQUAL "HEADER_ONLY"  )

◆ target_include_directories()

HOPS_GUROBI_FOUND target_include_directories ( hops INTERFACE ${GUROBI_INCLUDE_DIR}  )