Open
Description
Currently we only have SAMPLES (or-tools/<component>/samples
) and EXAMPLES (examples/*
).
I propose to:
- Move lang test to
ortools/<component>/<lang>
e.g.ortools/sat/java/CpModelTest.java
-
Add aBUILD_TEST
option to only build what is currently located inexamples/tests
- Move tests to
or-tools/<component>/tests
- Add option to control if binaries or source are installed e.g.
-
INSTALL_SAMPLES_BINARIES
to install samples binaries (toCMAKE_INSTALL_BINDIR
) -
INSTALL_SAMPLES_SOURCES
to install samples source code (toCMAKE_INSTALL_DATADIR
)
-
- Add a General and
<LANG>
options e.g.INSTALL_SAMPLES_BINARIES
, andINSTALL_CXX_SAMPLES_BINARIES
note: For python while binary and sources file is identical (i.e. the .py file) it will be installed in BINDIR and/or DATADIR according to the option enabled.
Any feedback welcome !