aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-09-05Bump version to 0.4.0 (final)Boris Kolpackov5-11/+11
2016-09-05Add dependencies on build2 and bpkg in manifestsBoris Kolpackov1-1/+2
2016-09-05Fix issue with constexpr initialization, GCC 4.8 doesn't support thisBoris Kolpackov2-2/+2
2016-09-04Add /usr/local/lib to library search paths on FreeBSDBoris Kolpackov1-37/+50
2016-09-04Adjust to freebsd to bsd target class changeBoris Kolpackov3-6/+6
2016-09-04Add digits to right pattern separator to handle clang++37 (FreeBSD).Boris Kolpackov1-1/+4
2016-09-04Adjust configure/disfigure verbosityBoris Kolpackov1-9/+8
2016-09-04Fix crash on uninstallKaren Arutyunov1-9/+15
2016-09-04Fix initializer list lifetime issuesBoris Kolpackov2-20/+12
2016-09-04Always use rm/rmdir utilities on Windows to delete stuff being usedBoris Kolpackov1-2/+8
2016-09-03Fix uninitialized variable warningBoris Kolpackov1-1/+1
2016-09-02Treat trailing dot as specified but empty extensionBoris Kolpackov1-3/+6
Of course now there is no way to specify a name that really has a trailing dot.
2016-09-02Don't warn if we pre-guessed gcc but it ended up being clang-appleBoris Kolpackov1-3/+15
This handles the gcc/g++ Mac OS "aliases".
2016-09-02Fix bug in cli module diagnosticsBoris Kolpackov1-1/+1
2016-09-01Only set cli.options if cli is configuredBoris Kolpackov1-6/+9
2016-09-01Add support for specifying directory in config.dist.archivesBoris Kolpackov2-10/+37
2016-08-31Compile first source file, not lastBoris Kolpackov2-7/+7
Some source files may include other files of the same type which can get injected at the end.
2016-08-31Improve mixed source (e.g., C and C++) building supportBoris Kolpackov5-7/+38
2016-08-30Fix missing .dll.d cleanup on MinGWBoris Kolpackov1-7/+2
2016-08-30Build infrastructure updateBoris Kolpackov4-19/+27
2016-08-30Don't treat trailing dot as part of variable nameBoris Kolpackov1-0/+11
So we can write $major.$minor
2016-08-30Add support for target visibility, use for dist, test, installBoris Kolpackov15-36/+73
This means we can no longer write: install = false Now it should be: *: install = false
2016-08-30Add support for using '*' as target type in variable assignmentBoris Kolpackov2-3/+14
So these three are equivalent: *: foo = 1 {*}: foo = 2 *{*}: foo = 3
2016-08-30Add support for install.subdirs so can be specified for scopeBoris Kolpackov2-32/+60
2016-08-30Remove backwards-compatibility kludgesBoris Kolpackov8-56/+19
2016-08-30Add support for config.build file versioningBoris Kolpackov9-38/+116
2016-08-30Change function names to make VC happyBoris Kolpackov3-21/+21
2016-08-30Fix typoBoris Kolpackov1-1/+1
2016-08-30On FreeBSD also search in libdata/pkgconfig/Boris Kolpackov1-33/+60
2016-08-29Implement initial support for library versioningBoris Kolpackov12-203/+587
Currently we only support platform-independent versions that get appended to the library name. The magic incantation is this: lib{foo}: bin.lib.version = @-1.2 This will produce libfoo-1.2.so, libfoo-1.2.dll, etc. In the future we will support things like this: lib{foo}: bin.lib.version = linux@1.2.3 freebsd@1.2 windows@1.2
2016-08-29Fix incorrect process argv[0] valuesBoris Kolpackov1-1/+1
2016-08-29Add pkgbuild/ to bootstrap scriptsBoris Kolpackov3-0/+3
2016-08-28Limit c.std, cxx.std, and extension visibility to projectBoris Kolpackov3-3/+3
2016-08-28Fix locale dependence when extracting GCC library search pathsBoris Kolpackov1-6/+15
2016-08-28Fix incorrect assertBoris Kolpackov1-1/+1
2016-08-28Fix remaining case-insensitive compareBoris Kolpackov1-2/+1
2016-08-28Optimize library processingBoris Kolpackov2-89/+98
2016-08-28Factor library search/processing out to cc::commonBoris Kolpackov10-905/+933
2016-08-28Fix Windows rpath supportBoris Kolpackov5-179/+314
2016-08-28Extract pkg-config information for both static/shared at onceBoris Kolpackov5-174/+203
We also no longer pick shared/static file rather entering them as "our" lib{} target. This way we use the link order of the importer "transitively".
2016-08-27Fix rpath-linkBoris Kolpackov3-67/+96
2016-08-27Reimplement UNIX rpath using process_library(), -rpath-link is still brokenBoris Kolpackov7-125/+211
2016-08-27Determine if library is system in process_librariesBoris Kolpackov3-45/+113
2016-08-27Clean up library export, make c and cxx modules project root onlyBoris Kolpackov15-760/+882
So now c and cxx modules can only be loaded in project root scope (normally root.build). Also, the c.std and cxx.std must now be set *before* loading the module to take effect. This means we won't be able to handle old buildfiles anymore but old versions of build2 should be able to handle new *.std placement.
2016-08-26Add pkg-config support for import installedBoris Kolpackov21-308/+1122
Redesign library importing/exporting while at it.
2016-08-25Handle *.export.loptionsBoris Kolpackov1-2/+26
2016-08-24Pick *.libs variable depending on library type during static linkingBoris Kolpackov5-9/+46
2016-08-24Handle *.export.libs, distinguish interface and implementation dependenciesBoris Kolpackov12-68/+321
A library dependency on another libraries is either "interface" or "implementation". If it is interface, then everyone who links to this library should also link to the interface dependency, explicitly. A good example of an interface dependency is a library API that is called in inline functions. Interface dependencies of a library should be explicitly listed in the *.export.libs (where we can also list target names). So the typical usage will be along these lines: import int_libs = libfoo%lib{foo} import int_libs += ... import imp_libs = libbar%lib{bar} import imp_libs += ... lib{baz}: ... $int_libs $imp_libs lib{baz}: cxx.export.libs = $int_libs
2016-08-23Add support for installing into a different file nameBoris Kolpackov3-31/+56
Now the install variable is a path, not dir_path. If it is a directory (ends with a trailing slash), then the target is installed into this directory with the same name. Otherwise, the entire path is used as the installation destination.
2016-08-23Update install.* variables in buildfilesBoris Kolpackov2-2/+2