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 63cabe6b..6dd0f911 100755
--- a/acprep
+++ b/acprep
@@ -685,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'):
@@ -819,6 +822,9 @@ class PrepareBuild(CommandLineApp):
if self.prefix_directory():
conf_args.append('-DCMAKE_INSTALL_PREFIX=%s' % self.prefix_directory())
+ if self.is_cygwin:
+
+
return (environ, conf_args + self.configure_args)
def phase_configure(self, *args):