-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
Build: CMakeCMake based build issueCMake based build issueFeature RequestMissing Feature/WrapperMissing Feature/Wrapper
Milestone
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_TESToption 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_BINARIESto install samples binaries (toCMAKE_INSTALL_BINDIR) -
INSTALL_SAMPLES_SOURCESto 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 !
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Build: CMakeCMake based build issueCMake based build issueFeature RequestMissing Feature/WrapperMissing Feature/Wrapper