summaryrefslogtreecommitdiff
path: root/infrastructure
Commit message (Collapse)AuthorAge
* Remove old hard-coded MSVC and MinGW configs.Chris Wilson2016-09-10
| | | | Should be replaced by CMake now.
* Set test timeouts for CMake tests.Chris Wilson2016-09-10
| | | | | | Should avoid infinite test hangs, especially on Appveyor, where a bad compile (mixed runtimes) or an abort can popup an error message at runtime which hangs the test forever.
* Optimisation: for CMake builds, replace generated files only if changed.Chris Wilson2016-09-10
| | | | | Speeds up local development by avoiding unnecessary rebuilds when files have not changed.
* Replace most of Appveyor Windows build script with a CMakefile.Chris Wilson2016-09-09
| | | | | Should make it easier for Windows developers to get started by automating almost everything.
* Add clean and realclean targets to each module's mini Makefile.Chris Wilson2016-09-09
| | | | Remove unnecessary extra printing while configuring modules.
* Fix Unix compilation using CMake.Chris Wilson2016-09-09
| | | | | | | | | | Add platform detection that's compatible with the old buildsystem and its m4 autoconfigury. Make Travis build and test using CMake as a separate target. Remove unused function BoxGetTemporaryDirectoryName() to fixes compile using CMake on Unix.
* Break dependency on Cygwin commands in Windows tests.Chris Wilson2016-09-03
| | | | | | Define WIN32 properly when building with CMake, and in this case, use native commands such as attrib.exe instead of Cygwin chmod, so that users don't have to install Cygwin or msys-git.
* Update platform feature detection to work with CMake.Chris Wilson2016-09-03
| | | | | | | Rewrite some macros in forms that can be parsed by our parser written in CMake language (fake m4 with regexps). Fix incorrect conditional includes and incorrect #if/#ifdef assumptions.
* Skip building the parts of QDBM that we don't need with CMake.Chris Wilson2016-08-28
| | | | | Avoids spurious compiler warnings about redefinitions of symbols in files that we don't need to link with anyway.
* Use builtin TO_NATIVE_PATH in CMake instead of rolling our own.Chris Wilson2016-08-28
|
* Use ccache if available in CMake builds.Chris Wilson2016-08-28
|
* Update test runner to support CMake better.Chris Wilson2016-08-28
| | | | | | | | | | | Add support for: * Out-of-tree builds (by passing executable name from CMake to runtest.pl) * AppVeyor test status * Cross-platform cmake (using cmake -E instead of platform-specific commands) Get CMake to install binaries needed by tests, in correct locations, with correct names.
* Fix case of filenames of "text" files used to generate protocols and docs.Chris Wilson2016-08-28
|
* Add MSVC user settings files to version control.Chris Wilson2016-08-28
|
* Standardise dependent library location for CMake.Chris Wilson2016-08-28
| | | | Add a CMake module to find readline libraries for us.
* Merge makebuildenv.pl and makeparcels.pl, write monolithic Makefiles.Chris Wilson2016-08-28
| | | | | | | | | | | | | | | | | | | | | | This is necessary to fix compilation on machines with large numbers of cores (e.g. Travis build workers) because the build system automatically attempts maximum parallelism, and the old one is broken and tries to build multiple libraries simultaneously. The new buildsystem almost entirely avoids recursive Make: only trivial Makefiles in target directories (which invoke the top-level Makefile to build the appropriate output file) and the old docs makefile are not part of the new master Makefile. Due to higher parallelism and better dependency checking, Make should be much faster now. Not all old targets are supported though. I've removed implicit dependencies hard-coded in the build system, and expressed all dependencies in modules.txt, since the implicit dependencies were confusing, obscure and unnecessary, and it was hard to express their own dependencies on each other. Test both the default target and explicitly "parcels" for release builds on Travis.
* Replace Travis build instructions with a script.Chris Wilson2016-08-28
| | | | Easier to run locally to help reproduce issues with Travis builds.
* Make getversion.pl executable.Chris Wilson2016-05-16
|
* Update paths to match new cmake-generated project files location.Chris Wilson2016-02-14
|
* Move user properties files into build folder.Chris Wilson2016-02-13
| | | | | | | These are the only version-controlled files that should be in the build folder for CMake. Ideally even these would not be here, to make it easier to delete the folder completely, but Visual Studio expects them to be in the same directory as the (generated) project files.
* Fix passing of "release" argument to runtest.pl in release mode.Chris Wilson2015-12-27
|
* Substitute TARGET_PERL in test/bbackupd config.Chris Wilson2015-12-24
| | | | This is needed for executing the SyncAllowScript, on which several tests depend.
* Run release tests, not debug tests, in the release configuration.Chris Wilson2015-12-24
|
* In release configuration, install binaries into release tree, not debug tree.Chris Wilson2015-12-24
|
* Build release libs as well as debug in Appveyor, and link the right ones ↵Chris Wilson2015-12-24
| | | | into boxbackup.
* Add Visual Studio .user files to start executables in the right working ↵Chris Wilson2015-12-24
| | | | directories.
* Remove duplicate printing of exception details on test errors.Chris Wilson2015-12-24
| | | | | BoxException::what() now contains the full details of the exception, so we don't need to print the value returned by GetMessage() as well.
* Fix OpenSSL makefile caching against version upgrades.Chris Wilson2015-12-20
| | | | | Cache the previous OpenSSL makefile for its timestamp, but rebuild it each time, compare to the cached one, and invalidate if necessary.
* Fix PERL_EXECUTABLE #define to use properly-escaped pathChris Wilson2015-12-19
|
* Add dependencies between modules properlyChris Wilson2015-12-19
|
* Fix PERL_EXECUTABLE to be a native path, so that system() works.Chris Wilson2015-12-17
|
* Install test binaries too.Chris Wilson2015-12-17
| | | | | This makes command-line debugging a bit easier, and more like it is on Unix platforms.
* Add CTest configurations to CMake. Make some tests work on Windows/MSVC.Chris Wilson2015-12-13
|
* Add header files to dependencies and generated Visual Studio projectsChris Wilson2015-12-13
|
* Move reusable code out of bin directories.Chris Wilson2015-12-13
| | | | | Allows tests to depend on lib/bbackupd instead of bin/bbackupd, which was always a hack, and really doesn't work with CMake.
* We still need to manually tell Configure to link ws2_32 as well as gdi32.Chris Wilson2015-12-13
|
* Try a different way to link -lgdi32, hopefully after other libs this time.Chris Wilson2015-12-13
|
* Also link -lgdi32 on Windows, because OpenSSL requires it!Chris Wilson2015-12-13
|
* Pass the correct flags to the configure script to locate OpenSSL headers.Chris Wilson2015-12-13
|
* Install OpenSSL, etc. in parent directory of source checkout.Chris Wilson2015-12-13
|
* Make setup.exe executable after download, so we can run it.Chris Wilson2015-12-13
|
* Fix -rdynamic checkMoritz 'Morty' Strübe2015-12-13
| | | | | The flag -rdynamic must be removed from LDFLAGS after the check. Otherwise its also set for the following checks and they fail.
* Export $target_msvc specifically to determine if we are building for MSVC.Chris Wilson2015-12-12
| | | | | In this environment (Windows, non-Cygwin) we have no Unixish shell or commands, so we need to do some things differently.
* Add support for binary targets depending on other binary targets.Chris Wilson2015-12-10
|
* Hopefully fix code generation dependencies.Chris Wilson2015-12-10
|
* Auto-generate the bbackupquery documentation.Chris Wilson2015-12-10
| | | | Fix testbackupstorefix compile, that requires -DPERL_EXECUTABLE.
* Hide copious warnings about spurious memory leaksChris Wilson2015-12-09
|
* Merge Arnaud Grandville's Windows fixes.Chris Wilson2015-12-09
|\ | | | | | | Merge branch 'master' of https://github.com/agrandville/boxbackup into appveyor
| * remove Safe Exception Handling flagAG2015-10-26
| |
| * visual studio 2013 solution Release & DebugAG2015-10-26
| |