timpokorny / cpptask Goto Github PK
View Code? Open in Web Editor NEWSimple Ant tasks for compiling C++ code via the command line with Visual Studio or GCC
Simple Ant tasks for compiling C++ code via the command line with Visual Studio or GCC
<cpptask>
only supports generating dynamic libraries and executables.
Produce a library (file.a) that users can statically link with their apps.
Entering "static" in the outtype
attribute of the <cpptask>
declaration causes an error stating that it is not a valid option
static
as an outtype
optionfile.a
) will be produced in the output directory on completion<tbc>
The README says that the following line should appear in the build.xml
file:
<taskdef name="cpptask" classname="com.lbf.cpptask.CppTask"/>
However, there was no such class in the cpptask.jar
file. I had to use:
<taskdef name="cpptask" classname="org.portico.ant.tasks.cpptask.CppTask"/>
Also, the example in the README includes an objdir
attribute of the cpptask
element. However, I recieved the following error from Ant:
/media/sdb1/checkouts/hive/targets/minidb/build.xml:38: cpptask doesn't support the "objdir" attribute
Just noted that the usage example in the class level javadoc for VerifyJdkTask (src/java/cpptask/org/portico/ant/tasks/platform/VerifyJdkTask.java) mentions an architecture
parameter.
From what I can determine from the code, the parameter should be named arch
instead.
Oracle JDK 10 does not have a jre sub-folder per https://docs.oracle.com/javase/10/install/installed-directory-structure-jdk-and-jre.htm#JSJIG-GUID-5CD31FB7-D906-4F4D-BEF6-353FBC68D4F7
Method VerifyJdkTask.containsJdk validates a location as a JDK based on the presence of a jre sub-folder.
Ipsofacto ... it don't work good.
As a C++ developer I require the ability to link to the VC12 runtime, so that I can build libraries for projects that are themselves built against VC12
I'm developing a plugin DLL for an architecture that is itself compiled against VC12. The plugin needs to be linked against the same runtime as to avoid compatibility warnings/errors.
As a C++ developer I require the ability to link to the VC14 runtime, so that I can build libraries for projects that are themselves built against VC14
I'm developing a plugin DLL for an architecture that is itself compiled against VC14. The plugin needs to be linked against the same runtime as to avoid compatibility warnings/errors.
When configured to use GCC/G++ <cpptask>
currently calls the gcc/g++ executable to both compile and link. This should be changed so that it calls ld
directly to perform linking.
Pass linker arguments to ld
without having to specify -Wl,
<tbc>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.