summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-03-27 08:51:54 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-03-27 08:51:54 +0000
commit421f908c69ddf071b024608ae506472eb4edf962 (patch)
tree3f247dc7a27e8281c0156462f93313d19cca1af8 /fluid
parent506fa9d03492189c33f4a86189eda52bffe64b91 (diff)
Bringing supported IDEs to the newest setup, add device and others.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7345 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
-rw-r--r--fluid/ide_support.cxx17
-rw-r--r--fluid/ide_visualc.cxx2
2 files changed, 18 insertions, 1 deletions
diff --git a/fluid/ide_support.cxx b/fluid/ide_support.cxx
index 212a054e1..f63d30683 100644
--- a/fluid/ide_support.cxx
+++ b/fluid/ide_support.cxx
@@ -344,6 +344,7 @@ int create_new_database(const char *filename)
Fl_Target_Prefs fltk_lib(libs_db.add_with_key("name", "fltk")); {
fltk_lib.add_source(files_db, "src/Fl.cxx");
+ fltk_lib.add_source(files_db, "src/Fl_Abstract_Printer.cxx");
fltk_lib.add_source(files_db, "src/Fl_Adjuster.cxx");
fltk_lib.add_source(files_db, "src/Fl_Bitmap.cxx");
fltk_lib.add_source(files_db, "src/Fl_Box.cxx");
@@ -653,6 +654,7 @@ int create_new_database(const char *filename)
fluid_app.add_lib(fltk_images_lib);
fluid_app.add_lib(fltk_jpeg_lib);
fluid_app.add_lib(fltk_png_lib);
+ fluid_app.add_lib(fltk_z_lib);
visualc_only(fluid_app.add_lib(fltk_z_lib));
xcode_only(fluid_app.add_external_lib(files_db, "icons/fluid.icns"));
}
@@ -784,6 +786,16 @@ int create_new_database(const char *filename)
demo_db.depends_on(db);
}
+ { Fl_Target_Prefs db(tests_db.add_with_key("name", "device"));
+ db.add_source(files_db, "test/device.cxx");
+ db.add_lib(fltk_lib);
+ db.add_lib(fltk_images_lib);
+ db.add_lib(fltk_jpeg_lib);
+ db.add_lib(fltk_png_lib);
+ db.add_lib(fltk_z_lib);
+ demo_db.depends_on(db);
+ }
+
{ Fl_Target_Prefs db(tests_db.add_with_key("name", "doublebuffer"));
db.add_source(files_db, "test/doublebuffer.cxx");
db.add_lib(fltk_lib);
@@ -809,6 +821,7 @@ int create_new_database(const char *filename)
db.add_lib(fltk_images_lib);
db.add_lib(fltk_jpeg_lib);
db.add_lib(fltk_png_lib);
+ db.add_lib(fltk_z_lib);
demo_db.depends_on(db);
}
@@ -883,6 +896,7 @@ int create_new_database(const char *filename)
db.add_lib(fltk_images_lib);
db.add_lib(fltk_jpeg_lib);
db.add_lib(fltk_png_lib);
+ db.add_lib(fltk_z_lib);
demo_db.depends_on(db);
}
@@ -1007,6 +1021,7 @@ int create_new_database(const char *filename)
db.add_lib(fltk_images_lib);
db.add_lib(fltk_jpeg_lib);
db.add_lib(fltk_png_lib);
+ db.add_lib(fltk_z_lib);
demo_db.depends_on(db);
}
@@ -1072,6 +1087,7 @@ int create_new_database(const char *filename)
db.add_lib(fltk_images_lib);
db.add_lib(fltk_jpeg_lib);
db.add_lib(fltk_png_lib);
+ db.add_lib(fltk_z_lib);
xcode_only(db.add_external_lib(files_db, "/System/Library/Frameworks/CoreAudio.framework"));
visualc_only(db.add_external_lib(files_db, "winmm.lib"));
demo_db.depends_on(db);
@@ -1114,6 +1130,7 @@ int create_new_database(const char *filename)
db.add_lib(fltk_images_lib);
db.add_lib(fltk_jpeg_lib);
db.add_lib(fltk_png_lib);
+ db.add_lib(fltk_z_lib);
demo_db.depends_on(db);
}
diff --git a/fluid/ide_visualc.cxx b/fluid/ide_visualc.cxx
index 68baaf177..cc57cf8c2 100644
--- a/fluid/ide_visualc.cxx
+++ b/fluid/ide_visualc.cxx
@@ -331,7 +331,7 @@ public:
fprintf(f, "%s ", pathAndName);
}
}
- fprintf(f, "comctl32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:\"libcd\" /out:\"../../%s/%sd.exe\" /pdbtype:sept /libpath:\"..\\..\\lib\"\r\n", dir, name);
+ fprintf(f, "comctl32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:\"libcd\" /out:\"../../%s/%s.exe\" /pdbtype:sept /libpath:\"..\\..\\lib\"\r\n", dir, name);
fprintf(f, "# SUBTRACT LINK32 /pdb:none /incremental:yes\r\n");
fprintf(f, "\r\n");