From f3c7efc8d2feb9a67b6fdff09f4f428125eb5b79 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 17 Dec 2010 10:43:41 +0000 Subject: 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 --- fluid/ide_support.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'fluid/ide_support.cxx') 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")); } -- cgit v1.2.3