Changeset 30282 for lang/cplusplus
- Timestamp:
- 02/19/09 20:32:06 (4 years ago)
- Location:
- lang/cplusplus/i3/trunk
- Files:
-
- 10 modified
-
am/i3.am (modified) (2 diffs)
-
am/i3_debug.am (modified) (1 diff)
-
am/mol_test.am (modified) (1 diff)
-
am/mol_test_debug.am (modified) (1 diff)
-
configure.ac (modified) (1 diff)
-
src/PrecompiledHeaders.h (modified) (1 diff)
-
src/gui-gnustep/Gui.h (modified) (2 diffs)
-
src/mol/include/mol/PrecompiledHeaders.h (modified) (10 diffs)
-
src/mol/include/mol/gui-cocoa/PrecompiledHeaders.h (modified) (1 diff)
-
src/mol/include/mol/gui-gnustep/PrecompiledHeaders.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/cplusplus/i3/trunk/am/i3.am
r30277 r30282 82 82 # GNUstep 83 83 if WITH_GUI_GNUSTEP 84 i3_CXXFLAGS_DEFAULT += -DMOL_GUI_GNUSTEP 85 i3_CXXFLAGS_RELEASE += ${GNUSTEP2_CXXFLAGS} 86 i3_LDADD_RELEASE += ${GNUSTEP2_LDFLAGS} 84 i3_CXXFLAGS_DEFAULT += -DMOL_GUI_GNUSTEP ${GNUSTEP_CXXFLAGS} 85 i3_LDADD_RELEASE += ${GNUSTEP_LIBS} 87 86 endif 88 87 … … 90 89 # Cocoa 91 90 if WITH_GUI_COCOA 92 i3_CXXFLAGS_DEFAULT += ${COCOA_CXXFLAGS} -DMOL_GUI_COCOA \ 93 -I${COCOA_INCLUDES}/QtGui -I${COCOA_INCLUDES}/QtCore 94 i3_LDADD_DEFAULT += ${COCOA_LDADD} ${COCOA_LIB_GUI} 95 96 if WITH_OS_WINDOWS 97 i3_LDADD_DEFAULT += -lgdi32 -luser32 -lpsapi -lshlwapi 91 i3_CXXFLAGS_DEFAULT += -DMOL_GUI_COCOA 98 92 endif 99 endif -
lang/cplusplus/i3/trunk/am/i3_debug.am
r30276 r30282 41 41 42 42 # --------------------------------------- 43 # gnustep43 # GNUstep 44 44 if WITH_GUI_GNUSTEP 45 i3_CXXFLAGS_DEBUG += 46 i3_LDFLAGS_DEBUG += 47 i3_LDADD_DEBUG += ${GNUSTEP2_LIBS} 48 if WITH_CYGWIN 49 i3_LDADD_DEBUG += -lmsimg32 -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++ -luser32 -lgdi32 50 else 51 i3_LDADD_DEBUG += -L/usr/local/lib -lgnustep2 -lX11 -lXi -lXinerama -lXft -lpthread -lm -lXext -lsupc++ 52 endif 45 i3_LDADD_DEBUG += ${GNUSTEP_LIBS} 53 46 endif 54 47 -
lang/cplusplus/i3/trunk/am/mol_test.am
r30276 r30282 28 28 29 29 # --------------------------------------- 30 # gnustep30 # GNUstep 31 31 if WITH_GUI_GNUSTEP 32 mol_test_CXXFLAGS += ${GNUSTEP 2_CXXFLAGS}33 mol_test_LDADD += ${GNUSTEP 2_LDFLAGS}32 mol_test_CXXFLAGS += ${GNUSTEP_CXXFLAGS} 33 mol_test_LDADD += ${GNUSTEP_LIBS} 34 34 endif -
lang/cplusplus/i3/trunk/am/mol_test_debug.am
r30276 r30282 47 47 # gnustep 48 48 if WITH_GUI_GNUSTEP 49 mol_test_debug_CXXFLAGS += 50 mol_test_debug_LDADD += ${GNUSTEP 2_LIBS}49 mol_test_debug_CXXFLAGS += ${GNUSTEP_CXXFLAGS} 50 mol_test_debug_LDADD += ${GNUSTEP_LIBS} 51 51 endif -
lang/cplusplus/i3/trunk/configure.ac
r30274 r30282 127 127 ;; 128 128 gnustep) 129 GNUSTEP_CXXFLAGS=`gnustep-config --objc-flags` 130 GNUSTEP_LIBS=`gnustep-config --objc-libs``gnustep-config --base-libs``gnustep-config --gui-libs` 131 AC_SUBST(GNUSTEP_CXXFLAGS) 132 AC_SUBST(GNUSTEP_LIBS) 129 which gnustep-config > /dev/null 130 if test $? -ne 0; then 131 echo "GNUstep not found." 132 exit 1 133 fi 134 135 # GNUSTEP_CXXFLAGS="`gnustep-config --objc-flags`" 136 # GNUSTEP_LIBS="`gnustep-config --objc-libs``gnustep-config --base-libs``gnustep-config --gui-libs`" 137 GNUSTEP_CXXFLAGS="-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -DGNUSTEP_WITH_DLL -g -Wall -DDEBUG -fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import -g -fno-strict-aliasing -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/Owner/GNUstep/Library/Headers -I/GNUstep/Local/Library/Headers -I/GNUstep/System/Library/Headers" 138 GNUSTEP_LIBS="-Wl,--enable-auto-import -fgnu-runtime -L/home/Owner/GNUstep/Library/Libraries -L/GNUstep/Local/Library/Libraries -L/GNUstep/System/Library/Libraries -lobjc -lws2_32 -ladvapi32 -lcomctl32 -luser32 -lcomdlg32 -lmpr -lnetapi32 -lm -I.-Wl,--enable-auto-import -fgnu-runtime -L/home/Owner/GNUstep/Library/Libraries -L/GNUstep/Local/Library/Libraries -L/GNUstep/System/Library/Libraries -lgnustep-base -lobjc -lws2_32 -ladvapi32 -lcomctl32 -luser32 -lcomdlg32 -lmpr -lnetapi32 -lm -I.-Wl,--enable-auto-import -fgnu-runtime -L/home/Owner/GNUstep/Library/Libraries -L/GNUstep/Local/Library/Libraries -L/GNUstep/System/Library/Libraries -lgnustep-gui -lgnustep-base -lobjc -lws2_32 -ladvapi32 -lcomctl32 -luser32 -lcomdlg32 -lmpr -lnetapi32 -lm -I." 139 AC_SUBST(GNUSTEP_CXXFLAGS) 140 AC_SUBST(GNUSTEP_LIBS) 133 141 ;; 134 142 *) -
lang/cplusplus/i3/trunk/src/PrecompiledHeaders.h
r18130 r30282 8 8 9 9 // TODO: NDEBUG,_DEBUG,... 10 #ifndef NDEBUG10 //#ifndef NDEBUG 11 11 12 12 #include <mol/PrecompiledHeaders.h> 13 13 14 #endif 14 //#endif 15 -
lang/cplusplus/i3/trunk/src/gui-gnustep/Gui.h
r30276 r30282 1 1 #pragma once 2 3 #define COCOA_NO_CAST_FROM_ASCII4 #include <QApplication>5 #include <QLabel>6 #include <QChar>7 #include <QString>8 2 9 3 // "_" macro 10 4 #ifdef ENABLE_NLS 11 # include "../intl/wlibintl.h" 12 # define _(String) (QString::fromUtf16((const ushort*)(wgettext(String)))) 5 # define _(String) (gettext(String)) 13 6 #else 14 # define _(String) ( QString::fromUtf16((const ushort*)(L##String)))7 # define _(String) (String) 15 8 #endif 16 9 … … 18 11 namespace i3 19 12 { 20 typedef std::basic_string<QChar> string; 21 typedef boost::basic_format<QChar> format; 22 void alert(string message); 23 void init_gui_global_data(int argc,char *argv[]); 13 typedef std::string string; 14 typedef boost::format format; 24 15 } 16 -
lang/cplusplus/i3/trunk/src/mol/include/mol/PrecompiledHeaders.h
r30250 r30282 8 8 #include "Environment.h" 9 9 10 #ifndef NDEBUG10 //#ifndef NDEBUG 11 11 12 12 #ifdef _MSC_VER … … 44 44 45 45 #include <algorithm> 46 #include <bitset>46 //#include <bitset> 47 47 #include <cassert> 48 48 #include <cctype> … … 52 52 #include <cmath> 53 53 #include <complex> 54 #include <csetjmp>54 //#include <csetjmp> 55 55 #include <csignal> 56 #include <cstdarg>56 //#include <cstdarg> 57 57 #include <cstddef> 58 58 #include <cstdio> … … 85 85 #include <streambuf> 86 86 #include <string> 87 #include <typeinfo>87 //#include <typeinfo> 88 88 #include <utility> 89 #include <valarray>89 //#include <valarray> 90 90 #include <vector> 91 91 … … 100 100 #include <boost/bind.hpp> 101 101 #include <boost/cast.hpp> 102 #include <boost/crc.hpp>102 //#include <boost/crc.hpp> 103 103 #include <boost/cstdint.hpp> 104 104 #include <boost/format.hpp> … … 118 118 #include <boost/intrusive/list_hook.hpp> 119 119 #include <boost/lexical_cast.hpp> 120 #include <boost/math/common_factor.hpp>121 #include <boost/math/special_functions/acosh.hpp>122 #include <boost/math/special_functions/asinh.hpp>123 #include <boost/math/special_functions/atanh.hpp>120 //#include <boost/math/common_factor.hpp> 121 //#include <boost/math/special_functions/acosh.hpp> 122 //#include <boost/math/special_functions/asinh.hpp> 123 //#include <boost/math/special_functions/atanh.hpp> 124 124 #include <boost/mem_fn.hpp> 125 125 … … 128 128 129 129 130 #include <boost/numeric/ublas/io.hpp>131 #include <boost/numeric/ublas/matrix.hpp>132 #include <boost/numeric/ublas/vector.hpp>130 //#include <boost/numeric/ublas/io.hpp> 131 //#include <boost/numeric/ublas/matrix.hpp> 132 //#include <boost/numeric/ublas/vector.hpp> 133 133 #include <boost/pool/object_pool.hpp> 134 134 #include <boost/pool/pool.hpp> … … 148 148 #endif 149 149 150 #include <boost/scoped_ptr.hpp>150 //#include <boost/scoped_ptr.hpp> 151 151 #include <boost/shared_ptr.hpp> 152 152 #include <boost/static_assert.hpp> … … 156 156 #include <boost/utility.hpp> 157 157 158 #ifdef __OBJC__ 159 #define Object MOL_BOOST_LAMBDA_OBJECT 158 160 #include <boost/lambda/lambda.hpp> 161 #undef Object 162 #endif 159 163 160 164 #ifdef _MSC_VER … … 162 166 #endif 163 167 164 #endif 168 //#endif // NDEBUG -
lang/cplusplus/i3/trunk/src/mol/include/mol/gui-cocoa/PrecompiledHeaders.h
r30250 r30282 1 1 #pragma once 2 2 3 #ifdef BOOL 4 #undef BOOL 5 #define MOL_UNDEFINE_BOOL 6 #endif 7 8 #import <Cocoa/Cocoa.h> 9 10 #ifdef MOL_UNDEFINE_BOOL 11 #define BOOL WINBOOL 12 #undef MOL_UNDEFINE_BOOL 13 #endif 3 #include "../gui-gnustep/PrecompiledHeaders.h" 14 4 15 5 -
lang/cplusplus/i3/trunk/src/mol/include/mol/gui-gnustep/PrecompiledHeaders.h
r30276 r30282 1 2 /**3 *4 */5 6 1 #pragma once 7 2 8 #define COCOA_NO_CAST_FROM_ASCII 9 #include <QApplication> 10 #include <QLabel> 11 #include <QChar> 12 #include <QString> 3 #ifdef BOOL 4 #undef BOOL 5 #define MOL_UNDEFINE_BOOL 6 #endif 13 7 8 #import <Cocoa/Cocoa.h> 9 10 #ifdef MOL_UNDEFINE_BOOL 11 #define BOOL WINBOOL 12 #undef MOL_UNDEFINE_BOOL 13 #endif 14 15
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)