summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep8
1 files changed, 7 insertions, 1 deletions
diff --git a/acprep b/acprep
index b0af2108..9e661aad 100755
--- a/acprep
+++ b/acprep
@@ -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'):