move contrib examples to a dedicated contrib directory

This commit is contained in:
Laurent Perron
2018-11-07 20:49:03 +01:00
parent 5a6e658475
commit 475ccd99e3
415 changed files with 0 additions and 3 deletions

View File

@@ -1,24 +0,0 @@
if (NOT BUILD_PYTHON)
return()
endif()
foreach(TEST
hidato_table
integer_programming
knapsack
linear_programming
pyflow_example
tsp
vrp
vrpgs
cvrp
cvrptw
)
add_test(py${TEST}_venv ${VENV_BIN_DIR}/python ${CMAKE_CURRENT_SOURCE_DIR}/${TEST}.py)
set_tests_properties(py${TEST}_venv PROPERTIES DEPENDS build_venv)
endforeach()
include(GNUInstallDirs)
install(DIRECTORY .
DESTINATION ${CMAKE_INSTALL_DATADIR}/ortools/examples/python
FILES_MATCHING PATTERN "*.py")