summaryrefslogtreecommitdiff
path: root/fluid/ide_support.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2010-12-17 10:43:41 +0000
committerManolo Gouy <Manolo>2010-12-17 10:43:41 +0000
commitf3c7efc8d2feb9a67b6fdff09f4f428125eb5b79 (patch)
tree63543707427edef3bfc49af7bee60ede908527fe /fluid/ide_support.cxx
parentff4cafeb303cd8e9d24b62c45661f6da5067d556 (diff)
The 3 objective-c++ files used for the Mac OS X support are no longer included
by other files but added to the list of source files to be compiled for Mac OS X only. Support files for autoconf/configure/make, CMake and Xcode are also modified accordingly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8049 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/ide_support.cxx')
-rw-r--r--fluid/ide_support.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/fluid/ide_support.cxx b/fluid/ide_support.cxx
index b88d32002..bcd88528a 100644
--- a/fluid/ide_support.cxx
+++ b/fluid/ide_support.cxx
@@ -510,7 +510,10 @@ int create_new_database(const char *filename)
fltk_lib.add_source(files_db, "src/xutf8/case.c");
fltk_lib.add_source(files_db, "src/xutf8/is_right2left.c");
fltk_lib.add_source(files_db, "src/xutf8/is_spacing.c");
-
+
+ xcode_only(fltk_lib.add_source(files_db, "src/Fl_cocoa.mm"));
+ xcode_only(fltk_lib.add_source(files_db, "src/Fl_Quartz_Printer.mm"));
+ xcode_only(fltk_lib.add_source(files_db, "src/Fl_Native_File_Chooser_MAC.mm"));
fltk_lib.add_header(files_db, "FL/Enumerations.H");
fltk_lib.add_header(files_db, "FL/Fl.H");
@@ -638,7 +641,7 @@ int create_new_database(const char *filename)
fltk_lib.add_header(files_db, "FL/math.h");
fltk_lib.add_header(files_db, "FL/names.h");
fltk_lib.add_header(files_db, "FL/win32.H");
- fltk_lib.add_header(files_db, "FL/x.H");
+ fltk_lib.add_header(files_db, "FL/x.H");
xcode_only(fltk_lib.add_external_lib(files_db, "/System/Library/Frameworks/AudioToolbox.framework"));
}