diff options
author | John Wiegley <johnw@newartisans.com> | 2015-01-04 00:23:53 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2015-01-04 00:23:53 -0600 |
commit | 599af4642c24ab8db542aec19a25c367f3ed01f8 (patch) | |
tree | e585b0322667a4cdc5f9eedf602ad45dead434b7 /acprep | |
parent | d6f194058fbf8c88b926c2cb7ed43aa4ff255bc0 (diff) | |
parent | ea397d205c84d01b8089e8fac0dd30e9100d1571 (diff) | |
download | fork-ledger-599af4642c24ab8db542aec19a25c367f3ed01f8.tar.gz fork-ledger-599af4642c24ab8db542aec19a25c367f3ed01f8.tar.bz2 fork-ledger-599af4642c24ab8db542aec19a25c367f3ed01f8.zip |
Merge pull request #361 from lowdef/cygwin-build
automating ledger build on Cygwin
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -644,6 +644,9 @@ class PrepareBuild(CommandLineApp): ] self.log.info('Executing: ' + ' '.join(packages)) self.execute(*packages) + elif system.startswith('CYGWIN'): + self.log.info('Looks like you are using Cygwin') + self.log.info('Please install the dependencies manually.') ######################################################################### # Determine the system's basic configuration # @@ -682,7 +685,10 @@ class PrepareBuild(CommandLineApp): if self.options.python: self.configure_args.append('-DUSE_PYTHON=1') - if self.options.use_ninja: + if system.startswith('CYGWIN'): + self.configure_args.append('-G') + self.configure_args.append('Unix Makefiles') + elif self.options.use_ninja: self.configure_args.append('-GNinja') if exists('/Users/johnw/Projects/ledger/plan/TODO'): |