Commit Graph

143 Commits

Author SHA1 Message Date
Mizux Seiha
6376c0e72f version: be able to override MAJOR/MINOR/PATCH
* now, we can use OR_TOOLS_* to overload version name
* rename GIT_REVISION in OR_TOOLS_PATCH for consistency
2022-06-02 18:12:48 +02:00
Corentin Le Molgat
f512863356 make: Cleanup Makefile
* Add `archive` target
2022-05-27 15:08:14 +02:00
Corentin Le Molgat
c1998eab4d make: refactor archive generation (#3200)
* Add archive_{cpp,dotnet,java,python,data} targets
* Create a Makefile for each archive to ease build
* Add test_archive_* targets
* Rework tools/README.md
2022-04-07 15:56:16 +02:00
Mizux Seiha
562b8c03be make: Use a CMake template to build example (#3214) 2022-04-06 11:16:09 +02:00
Mizux Seiha
ec175fc736 make: Add compile cmd 2022-03-09 17:33:48 +01:00
Laurent Perron
403171f6a5 make: remove Makefile.third_party.mk 2022-03-09 09:23:44 +01:00
Laurent Perron
1adfa7fc80 make: cleanup
* Remove SYSTEM (only use PLATFORM)
* Add HAS_PYTHON HAS_JAVA HAS_DOTNET
* move Makefile.unix|win.mk into Makefile.port.mk
* fix make CI
2022-03-09 09:23:41 +01:00
Laurent Perron
840897cda7 polish 2022-02-22 11:03:26 +01:00
Laurent Perron
464a7bbdfc polish 2022-02-22 10:46:37 +01:00
Laurent Perron
fb79dedb2d more work on makefiles 2022-02-22 10:36:26 +01:00
Laurent Perron
ffad5bbc40 huge makefile cleanup; remove Makefile.local; detect all languages 2022-02-22 10:11:08 +01:00
Corentin Le Molgat
bf4f0969f2 Makefile: change mode a-x of Makefile 2020-02-28 08:21:26 +01:00
Corentin Le Molgat
fbcec1d0f7 Make: fix makefile typo 2020-02-05 08:13:54 +01:00
Corentin Le Molgat
ef704da21e make: Update doc integration 2020-01-31 16:08:42 +01:00
Laurent Perron
177bdafd11 fix SWIG_DOXYGEN; add SWIG_PY_DOXYGEN 2019-06-29 13:20:46 +02:00
Laurent Perron
119d10ac3b python generated doc 2019-06-13 13:46:16 +02:00
Corentin Le Molgat
2b2762db4a Add Makefile check target 2019-01-16 14:27:15 +01:00
Corentin Le Molgat
c18421ab44 Makefile: Add build/run target
- Add build/run target to archive Makefile
- Be able to run cc/python/java/dotnet examples in //
2018-10-31 08:33:43 +01:00
Corentin Le Molgat
8318422611 Remove deprecated Makefile.install.mk 2018-09-10 11:07:10 +02:00
Corentin Le Molgat
be123bf6b4 Remove now empty Makefile.test.mk 2018-09-10 10:51:56 +02:00
Corentin Le Molgat
ef5a2a2775 Archive: Rework cc/java/dotnet (Fix #723)
- Rename [Makefile|Readme].cc.java.dotnet
- Add missing dynamic lib on unix archive (Fix #723)
- Add rpah to lib64 for centos
- Use CXX, CXXFLAGS and LDFLAGS
  src: https://www.gnu.org/software/make/manual/make.html#Catalogue-of-Rules
- Add which.exe to archive on windows
- Add test_archive to .PHONY
- Add detect_archive
2018-07-10 15:45:04 +02:00
Corentin Le Molgat
1f8c3bb655 Fix GEN_DIR -> GEN_PATH 2018-07-04 09:05:22 +02:00
Corentin Le Molgat
b32dafacc6 Makefile: cc java python dotnet become idempotent
- Remove implicit rules
- Fix python obj/swig deps
- Keep intermediate file and dir
- remove MISSING_BUILD_DIRECTORIES
- Use GEN_DIR and GEN_PATH
- Remove GMake SUFFIXES
2018-07-03 22:27:35 +02:00
Corentin Le Molgat
a9581bc480 make clean: Remove bin lib objs ortools/gen 2018-07-03 22:07:11 +02:00
Matthew Moore
9aaa87a35a Only build dotnet in CI 2018-06-29 11:01:37 +02:00
Matthew Moore
b51e77c27d Initial commit to unify all dotnet under one project 2018-06-29 11:01:37 +02:00
Corentin Le Molgat
0011766761 Add make detect_third_party 2018-04-17 13:06:28 +02:00
Corentin Le Molgat
11a22957a4 Fix echo blankline on windows 2018-03-06 15:03:40 +01:00
Corentin Le Molgat
6eff7e4476 Add newline at end of each help_* targets 2018-03-06 14:23:47 +01:00
Corentin Le Molgat
51b56430f5 Rework Makefile help 2018-03-05 09:17:28 +01:00
Corentin Le Molgat
80e8676b21 Add detect_cc 2018-03-05 09:17:28 +01:00
Corentin Le Molgat
32f5c8c52a Add help_cc target 2018-02-28 15:20:56 +01:00
Corentin Le Molgat
945b94a55e Rework C# Makefile
- Start Nuget Makefile target rework.
- Fix C# compiler path containing spaces on Windows
e.g.:
PATH_TO_CSHARP_COMPILER = C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Roslyn\csc.exe
- try to follow the pypi convention
- pypi_archive -> nuget_archive
- pypi_upload -> nuget_upload
2018-02-28 15:20:56 +01:00
Corentin Le Molgat
02972d6b95 Rework F# Makefile
- rename F# targets to follow the naming convention
- add test_fsharp target
2018-02-28 15:20:56 +01:00
Corentin Le Molgat
671cf273b1 Rework Java Makefile 2018-02-28 15:14:48 +01:00
Corentin Le Molgat
4739c51447 Rework Python Makefile
- add help_python
2018-02-27 13:42:22 +01:00
Corentin Le Molgat
a98ddc947d Add third_party target to Makefile help 2018-02-27 13:42:22 +01:00
acco32
5468979925 Check for F# compiler before compilation only when target is called 2018-02-09 00:32:07 -08:00
Laurent Perron
f3a9e791df disable f# 2018-02-07 11:08:30 +01:00
acco32
ae3641b68e Integration into main makefile 2018-01-26 18:13:23 -08:00
Corentin Le Molgat
707a8789bf rework Makefile 'detect' target 2017-12-01 15:30:47 +01:00
Laurent Perron
739fa47e0f rename Makefile.port to Makefile.port.mk 2017-07-31 09:45:30 -07:00
Laurent Perron
a4ea8218da rename Makefile.test to Makefile.test.mk 2017-07-31 09:36:36 -07:00
Laurent Perron
105ca0ea3e crude make install for cc libraries 2017-07-20 18:00:54 -07:00
Laurent Perron
382d9939b3 Move versioning to a stand alone file 2017-06-07 10:26:41 +02:00
Laurent Perron
b6632140a5 bump version to 6.0; fix make archive and make pypi_archive 2017-05-11 15:01:35 +02:00
Michael W Powell
c6a750b0e0 commit focused on renaming to diff tool friendly file names 2017-03-07 11:25:32 -05:00
Driss Lahlou
1dbd92ca65 support multi versions of python in release 2017-01-24 19:33:22 +01:00
Driss Lahlou
233c4ac58d update the way we detect the system 2017-01-12 17:51:41 +01:00
Driss Lahlou
8b1cc2e407 Refactoring of makefiles 2017-01-10 21:05:56 +01:00