path: root/libbuild2/install/rule.cxx
AgeCommit message (Collapse)AuthorFilesLines
2021-10-07Allow forcing installation of exe{} prerequisites of file targetsBoris Kolpackov1-1/+8
This can be achieved with prerequisite-specific install=true, for example: exe{foo}: exe{bar}: install = true # foo runs bar
2021-10-07Minor install-related cleanupsBoris Kolpackov1-2/+9
2021-10-06Do not install exe{} prerequisites of file targetsBoris Kolpackov1-0/+3
2021-09-28Adapt to libbutl headers extension change from .mxx to .hxxKaren Arutyunov1-1/+1
2021-09-14Consistently install prerequisites from any scope by defaultBoris Kolpackov1-14/+29
It is also now possible to adjust this behavior with global config.install.scope override. Valid values for this variable are: project -- only from project strong -- from strong amalgamation weak -- from weak amalgamation global -- from all projects (default)
2020-12-01Add clarifying commentBoris Kolpackov1-2/+3
2020-11-30Don't fail if unable to remove empty directory on uninstallBoris Kolpackov1-3/+15
2020-08-25Add missing move() callBoris Kolpackov1-1/+3
2020-07-09Relax prerequisite filtering semantics of aliases in test and install rulesBoris Kolpackov1-2/+1
2020-06-25Add more instrumentation for unassigned path raceBoris Kolpackov1-2/+2
2020-04-30Rename target::member to target::adhoc_memberBoris Kolpackov1-2/+6
2020-03-20Don't install ad hoc members with nonexistent timestampBoris Kolpackov1-3/+3
2020-03-20Don't install ad hoc members with unassigned pathsBoris Kolpackov1-8/+23
2020-03-17Adapt install_l() to mkanylink() semantics changeKaren Arutyunov1-8/+1
Now mkanylink() always interprets a relative target from the link directory.
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-10-29Regularize and make accessible install/uninstall primitivesBoris Kolpackov1-32/+27
2019-08-23Introduce notion of build contextBoris Kolpackov1-9/+15
All non-const global state is now in class context and we can now have multiple independent builds going on at the same time.
2019-08-21Cleanup context.hxx and its usageBoris Kolpackov1-0/+1
2019-08-15Redo Windows implementation of install_l() to use uninstall_f()Boris Kolpackov1-52/+58
2019-08-15Fix bug in Windows implementation of install_l()Boris Kolpackov1-3/+3
2019-08-15Fix bug in mkanylink() usageBoris Kolpackov1-1/+9
2019-08-15Implement libs_paths symlinking support on WindowsBoris Kolpackov1-3/+41
Also, temporarily enable libs_paths::link on Windows for testing.
2019-07-05Move config, dist, test, and install modules into libraryKaren Arutyunov1-0/+1223