diff options
author | carnold <[email protected]> | 2008-02-21 06:44:23 +0000 |
---|---|---|
committer | carnold <[email protected]> | 2008-02-21 06:44:23 +0000 |
commit | a290048b6175ee1dbf9ecb2fe727a76c65e0f39d (patch) | |
tree | 5815e097a30ee35642ac42852a80afe9a3b8a795 /src/main/java/net/sf/antcontrib/cpptasks/gcc/WindresResourceCompiler.java | |
parent | d93400b9730d01c0b2d806776419311c4404b3c8 (diff) |
Now with working Windres compiler
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/cpptasks/trunk@156 32d7a393-a5a9-423c-abd3-5d954feb1f2f
Diffstat (limited to 'src/main/java/net/sf/antcontrib/cpptasks/gcc/WindresResourceCompiler.java')
-rw-r--r-- | src/main/java/net/sf/antcontrib/cpptasks/gcc/WindresResourceCompiler.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main/java/net/sf/antcontrib/cpptasks/gcc/WindresResourceCompiler.java b/src/main/java/net/sf/antcontrib/cpptasks/gcc/WindresResourceCompiler.java index 2d598f5..a617024 100644 --- a/src/main/java/net/sf/antcontrib/cpptasks/gcc/WindresResourceCompiler.java +++ b/src/main/java/net/sf/antcontrib/cpptasks/gcc/WindresResourceCompiler.java @@ -39,8 +39,8 @@ public final class WindresResourceCompiler extends CommandLineCompiler { return instance; } private WindresResourceCompiler(boolean newEnvironment, Environment env) { - super("rc", null, new String[]{".rc"}, new String[]{".h", ".hpp", - ".inl"}, ".res", false, null, newEnvironment, env); + super("windres", null, new String[]{".rc"}, new String[]{".h", ".hpp", + ".inl"}, ".o", false, null, newEnvironment, env); } protected void addImpliedArgs(final Vector args, final boolean debug, @@ -92,9 +92,7 @@ public final class WindresResourceCompiler extends CommandLineCompiler { int index) { if (index == 0) { String outputFileName = getOutputFileNames(filename, null)[0]; - String fullOutputName = new File(outputDir, outputFileName) - .toString(); - return "-o" + fullOutputName; + return "-o" + outputFileName; } return filename; } |