Hi, I'm just trying to make a D compiler run on Mac OS X with cmake and plplot and encountered some problems. One of them is, that in the call to build the D bindings library, there are several Qt flags and one of them doesn't work with the dmd compiler (the /F flag for frameworks). Using "make VERBOSE=1" I found out, that actually all C/C++ files are compiled with these flags, which is definitely far from perfect (although it doesn't harm obviously).
I needed some time to find out why this is the case, but eventually I could pin it down to the inclusion of ${QT_USE_FILE}, where the Qt compile and link flags are set globally in cmake/modules/qt.cmake (and also in examples/c++/CMakeLists.txt, but here the flags are only added locally). If I commented these lines, the flags weren't added anymore, but the qt drivers were disabled as well. Could someone who has more experience with the Qt stuff in the cmake build system check that and find some other solution? I don't think that these flags should be set for all C/C++ files compiled. Best Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria DVR-Nr: 0005886 email: sme...@iap.tuwien.ac.at web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel