Commit Graph

3020 Commits

Author SHA1 Message Date
Jerome Carretero ff56b99aab Merge branch 'zougloub-cross-qt4' 2012-05-12 15:15:42 -04:00
Jerome Carretero 91802ba41f Allow cross-compiling of qt4 applications (plz2review)
I'm cross-compiling the qt4 demo with::

   export QT4_ROOT=/path/to/win32/qt4
   QT4_INCLUDES=$QT4_ROOT/include QT4_XCOMPILE=1 QT4_BIN="$PWD" QT4_LIBDIR=$QT4_ROOT/lib \
    CXX=i686-pc-mingw32-g++ CC=i686-pc-mingw32-gcc CFLAGS=-g CXXFLAGS=-g waf configure

I made a simple wrapper for the qt tools::

   lrwxrwxrwx 1 cJ cJ     7 May 12 14:08 moc -> wrapper*
   lrwxrwxrwx 1 cJ cJ     7 May 12 14:02 qmake -> wrapper*
   lrwxrwxrwx 1 cJ cJ     7 May 12 14:09 rcc -> wrapper*
   lrwxrwxrwx 1 cJ cJ     7 May 12 14:04 uic -> wrapper*
   -rwxrwxr-x 1 cJ cJ   318 May 12 14:04 wrapper*

Wrapper contents::

   #!/usr/bin/env python
   # Calls win32 Qt tools via wine (too lazy to install the same version)

   import sys, os, subprocess

   QT4_ROOT = os.environ["QT4_ROOT"]
   tool = os.path.basename(sys.argv[0])
   args = sys.argv[1:]
   cmd = [
    "wine",
    "%s/bin/%s" % (QT4_ROOT, tool),
   ] + args

   sys.exit(subprocess.call(cmd))

Note: disabled localization in qt4 demo wscript as I don't need it.
2012-05-12 14:56:09 -04:00
Thomas Nagy b1ceb0ea9c docs 2012-05-12 19:36:41 +02:00
Thomas Nagy f486c0a391 Merge branch 'master' of https://code.google.com/p/waf 2012-05-11 07:27:04 +02:00
Thomas Nagy 556eabd0af new include guard for write_config_header 2012-05-11 07:26:50 +02:00
Harald Klimach 677e9d4c9c Included the fc_add_flags call in the fc_ tools of the extras directory. 2012-05-09 06:55:43 +02:00
Thomas Nagy 49ce7a489e add the FCFLAGS from the os environ 2012-05-09 00:35:24 +02:00
Thomas Nagy b188419d09 missing line for Issue 1164 2012-05-08 21:58:44 +02:00
Thomas Nagy 440fd37dfa Issue 1164 2012-05-08 19:01:30 +02:00
Thomas Nagy 6ecaf793a9 Add stdout/stderr parameters to exec_command to force the unbuffered output 2012-05-08 18:35:22 +02:00
Thomas Nagy bb25f417f8 simplification 2012-05-08 18:31:20 +02:00
Thomas Nagy d931b656f8 let Node.delete evict the node in question 2012-05-06 10:43:56 +02:00
Thomas Nagy 34bd6ce7eb docs 2012-05-06 10:30:22 +02:00
Thomas Nagy 3baef9a971 docs 2012-05-06 10:26:47 +02:00
Thomas Nagy f2f2cf5925 missing file on demos/adm 2012-05-06 00:08:50 +02:00
Thomas Nagy c87e5cc4b9 make demos/asm/ work on 64-bit linux by default 2012-05-05 20:28:13 +02:00
Thomas Nagy 0d97220bd4 force gcc for gcc+asm support 2012-05-05 17:06:34 +02:00
Thomas Nagy f71406c404 Issue 1157 2012-05-04 23:53:51 +02:00
Thomas Nagy a0f0878886 Issue 1162 2012-05-04 23:13:13 +02:00
Thomas Nagy 4297b935c3 docs 2012-05-04 22:22:02 +02:00
Thomas Nagy 574ba5fe39 Issue 1162 2012-05-04 19:43:13 +02:00
ita 5cd41c2a98 Issue 1162 2012-05-04 14:32:25 +02:00
ita b6455df988 use the unbuffered output for latex commands 2012-05-04 10:05:10 +02:00
ita 2c4d772e3d Issue 1162 2012-05-04 09:25:48 +02:00
ita e4b22a3317 docs 2012-05-02 09:23:58 +02:00
ita ea12601932 Make sure g95.py gfortran.py and ifort.py can be used in a standalone manner 2012-04-30 11:07:08 +02:00
ita 12b66365d3 Issue 1159 2012-04-30 10:29:31 +02:00
Thomas Nagy bbe8624875 Issue 1155 2012-04-26 23:47:04 +02:00
Thomas Nagy 707fa06763 Issue 1154 2012-04-23 23:59:53 +02:00
Thomas Nagy af2c42f9b8 Issue 1153, fix the C# stuff 2012-04-23 19:16:56 +02:00
Thomas Nagy 692ab67591 typo 2012-04-21 10:22:22 +02:00
Thomas Nagy af2d8053cc Issue 1150, Apple broke java 2012-04-21 00:22:44 +02:00
Thomas Nagy b62c401299 Issue 1151 2012-04-21 00:00:56 +02:00
Thomas Nagy 9f7330b745 docs 2012-04-17 21:53:01 +02:00
andreww 7515dab30e Add 'platform' argument for C# tasks.
Set the 'platform' argument on C# a task generator to select the
'/platform' option to pass to the compiler. Defaults to 'anycpu'.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-04-17 20:43:25 +02:00
andreww 30097510a8 Demonstrate C# platform option.
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-04-17 20:42:33 +02:00
Thomas Nagy 264b0ab5f5 for consistency, make ant_glob case sensitive everywhere by default 2012-04-16 20:20:49 +02:00
andreww 0328aa6847 Make ant_glob case insensitive on Windows
ant_glob now takes an optional keyword argument, ignorecase. It
defaults to True on Windows and False elsewhere.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-04-16 20:18:22 +02:00
Thomas Nagy d5c9b8f258 Issue 1117 2012-04-16 19:54:19 +02:00
Thomas Nagy 7a38aa315a docs 2012-04-15 10:42:06 +02:00
Thomas Nagy d963163471 reverting the latest changes to Runner.py, there is a very good reason to use atexit 2012-04-14 19:52:38 +02:00
Thomas Nagy f35573a181 docs 2012-04-14 19:27:57 +02:00
Thomas Nagy 90d93a697a docs 2012-04-13 23:15:30 +02:00
Thomas Nagy 661127acf3 Issue 1135 2012-04-13 23:11:17 +02:00
Thomas Nagy 2ed4e80f83 Issue 1146 2012-04-13 18:49:28 +02:00
Thomas Nagy 57a9ffd972 Issue 1145 2012-04-13 18:32:34 +02:00
Thomas Nagy f37a7bc698 cleanup 2012-04-13 08:37:48 +02:00
Thomas Nagy b32115aab1 Issue 1140 2012-04-13 08:36:02 +02:00
Thomas Nagy 315973e243 Build::get_all_task_gen 2012-04-13 01:24:43 +02:00
Thomas Nagy 9004b1fd95 Issue 1138, Issue 1139, Issue 1141 2012-04-13 00:48:34 +02:00