2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-17 15:39:59 +01:00
Commit Graph

131 Commits

Author SHA1 Message Date
Thomas Nagy
c2aef04b0e Fixed the configuration tests for Issue 915 2012-07-04 19:11:09 +02:00
Thomas Nagy
62613ddefc Issue 915 2012-07-03 15:42:17 +02:00
Thomas Nagy
ec3295c1a4 let conf.define() cast bool and None values to int 2012-06-30 18:15:56 +02:00
alexrp
d2d31c69a0 Extend the dmd tool to handle dmd2. 2012-06-21 18:31:52 +02:00
Thomas Nagy
183388abce python detection fix for hp-ux (build farm) 2012-06-19 18:02:04 +02:00
Thomas Nagy
bf2b2fa982 add the -framework flags for the compilation too 2012-06-16 21:36:07 +02:00
Thomas Nagy
4f6b76ff9e log more outputs 2012-06-16 02:43:02 +02:00
alexrp
fb815d0c8a Copy/pasta is evil and I should feel bad. 2012-06-09 09:20:22 +02:00
alexrp
2318c294dd And another! 2012-06-08 23:01:54 +02:00
alexrp
fdf234c2a6 Fix silly syntax error. 2012-06-08 22:58:38 +02:00
alexrp
78aa2f3e92 Some changes to the D support:
* Added ldc2 as a separate tool. It can be detected/used with --check-d-compiler in the compiler_d tool now.
* Added code to make sure that the compilers we find actually are the right ones (heuristics).
* Correct some old comments.
2012-06-08 21:38:40 +02:00
alexrp
0ce8e8b5ca Clarify error message (ldc is not a dmd2 replacement, ldc2 is). 2012-06-06 23:17:24 +02:00
Thomas Nagy
4d56d7039f enable static and shared libraries with the same extension (use -v to catch the mistakes) 2012-06-04 19:55:37 +02:00
Thomas Nagy
5915ae6d59 cosmetic changes 2012-06-02 09:29:30 +02:00
Jerome Carretero
879181f361 cs: indentation fix 2012-06-01 22:17:12 -04:00
Jerome Carretero
719dc32539 javaw: indentation fix 2012-06-01 22:04:59 -04:00
Thomas Nagy
a5c4b29ec4 Do not prevent Logs.error/warn/debug from getting replaced 2012-06-01 04:26:44 +02:00
Thomas Nagy
71c10abe7f removed an unused variable (cosmetic change) 2012-05-29 22:47:33 +02:00
Thomas Nagy
4f20b48c14 this may work for visual studio 2011 2012-05-29 22:44:00 +02:00
Thomas Nagy
10d3ecdc34 add the missing finally block to open() 2012-05-19 10:27:47 +02:00
Thomas Nagy
5ec0cbed4c self.env->env when looking for defines in parse_flags 2012-05-17 11:16:16 +02:00
Thomas Nagy
66172d53d3 Issue 1165 2012-05-16 08:29:13 +02: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
556eabd0af new include guard for write_config_header 2012-05-11 07:26:50 +02:00
Thomas Nagy
49ce7a489e add the FCFLAGS from the os environ 2012-05-09 00:35:24 +02:00
Thomas Nagy
bb25f417f8 simplification 2012-05-08 18:31:20 +02:00
Thomas Nagy
0d97220bd4 force gcc for gcc+asm support 2012-05-05 17:06:34 +02:00
ita
b6455df988 use the unbuffered output for latex commands 2012-05-04 10:05:10 +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
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
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
Thomas Nagy
d5c9b8f258 Issue 1117 2012-04-16 19:54:19 +02:00
Thomas Nagy
3e0c65e4af feature 'subst' supports before/after, disable the warning 2012-04-08 20:20:10 +02:00
Thomas Nagy
bafd9c4417 refactor the vapi_dirs flags processing 2012-04-07 14:48:45 +02:00
Thomas Nagy
1e083206af extract another method from the vala processing 2012-04-07 14:42:47 +02:00
Thomas Nagy
e7306c166f cleanup 2012-04-07 13:50:26 +02:00
Thomas Nagy
237de1d4e3 refactoring vala.py 2012-04-07 13:40:34 +02:00
Thomas Nagy
898872699d removed the macro DLL_EXPORT for gcc/g++ on windows and cleaned up a few TODO entries 2012-04-07 10:54:40 +02:00
Thomas Nagy
49f773b43c this might solve Issue 1132 2012-04-03 23:40:50 +02:00
Thomas Nagy
03905f8402 cosmetic change 2012-04-01 11:30:23 +02:00
Thomas Nagy
c86de0c041 Issue 1131 2012-03-23 03:50:15 +01:00
Thomas Nagy
59f4ceb51e Issue 1131 2012-03-23 03:42:05 +01:00
Thomas Nagy
ce05a01705 Issue 1131 2012-03-23 03:31:56 +01:00
Thomas Nagy
154bc0145e Issue 1130 2012-03-18 19:05:54 +01:00
Thomas Nagy
9c823649ab Issue 1122 2012-03-11 13:14:28 +01:00
Thomas Nagy
8bfddb955e Issue 1125 2012-03-10 19:22:40 +01:00