Browse Source

* Disable building the IDE on Darwin by default

git-svn-id: trunk@44154 -
joost 5 years ago
parent
commit
533777000a
1 changed files with 7 additions and 0 deletions
  1. 7 0
      packages/ide/fpmake.pp

+ 7 - 0
packages/ide/fpmake.pp

@@ -147,6 +147,7 @@ begin
   AddCustomFpmakeCommandlineOption('NoGDBMI','If value=1 or ''Y'', explicitly disable GDB/MI option');
   AddCustomFpmakeCommandlineOption('GDBMI','If value=1 or ''Y'', builds IDE with GDB/MI support (no need for LibGDB)');
   AddCustomFpmakeCommandlineOption('NoIDE','If value=1 or ''Y'', the IDE will be skipped');
+  AddCustomFpmakeCommandlineOption('IDE','If value=1 or ''Y'', the IDE will be build for each target');
 end;
 
 procedure add_ide(const ADirectory: string);
@@ -203,6 +204,12 @@ begin
         P.Directory:=ADirectory;
 {$endif ALLPACKAGES}
 
+        s :=GetCustomFpmakeCommandlineOptionValue('IDE');
+        if (s='1') or (s='Y') then
+          P.OSes := AllOSes
+        else
+          P.OSes := AllOSes-[darwin];
+
         P.Dependencies.Add('rtl-extra');
         P.Dependencies.Add('fv');
         P.Dependencies.Add('chm');