[Pkg-javascript-commits] [node-expat] 192/371: add libexpat.gyp file
Jonas Smedegaard
dr at jones.dk
Sun Feb 28 10:00:03 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository node-expat.
commit 92d729ecd88443ae8b9ae3b835f35d762f7a83af
Author: Nathan Rajlich <nathan at tootallnate.net>
Date: Sat Sep 29 00:33:51 2012 -0700
add libexpat.gyp file
---
deps/libexpat/libexpat.gyp | 83 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 83 insertions(+)
diff --git a/deps/libexpat/libexpat.gyp b/deps/libexpat/libexpat.gyp
new file mode 100644
index 0000000..6fb05e8
--- /dev/null
+++ b/deps/libexpat/libexpat.gyp
@@ -0,0 +1,83 @@
+# This file is used with the GYP meta build system.
+# http://code.google.com/p/gyp
+# To build try this:
+# svn co http://gyp.googlecode.com/svn/trunk gyp
+# ./gyp/gyp -f make --depth=`pwd` libexpat.gyp
+# make
+# ./out/Debug/test
+
+{
+ 'target_defaults': {
+ 'default_configuration': 'Debug',
+ 'configurations': {
+ # TODO: hoist these out and put them somewhere common, because
+ # RuntimeLibrary MUST MATCH across the entire project
+ 'Debug': {
+ 'defines': [ 'DEBUG', '_DEBUG' ],
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'RuntimeLibrary': 1, # static debug
+ },
+ },
+ },
+ 'Release': {
+ 'defines': [ 'NDEBUG' ],
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'RuntimeLibrary': 0, # static release
+ },
+ },
+ }
+ },
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ },
+ 'VCLibrarianTool': {
+ },
+ 'VCLinkerTool': {
+ 'GenerateDebugInformation': 'true',
+ },
+ },
+ },
+
+ 'targets': [
+ {
+ 'variables': { 'target_arch%': 'ia32' }, # default for node v0.6.x
+ 'target_name': 'expat',
+ 'product_prefix': 'lib',
+ 'type': 'static_library',
+ 'sources': [
+ 'lib/xmlparse.c',
+ 'lib/xmltok.c',
+ 'lib/xmlrole.c',
+ ],
+ 'defines': [
+ 'PIC',
+ 'HAVE_EXPAT_CONFIG_H'
+ ],
+ 'include_dirs': [
+ 'lib',
+ # platform and arch-specific headers
+ 'config/<(OS)/<(target_arch)'
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ 'lib',
+ # platform and arch-specific headers
+ 'config/<(OS)/<(target_arch)'
+ ],
+ },
+ 'conditions': [
+ ['target_arch=="arm"', {
+ }],
+ ]
+ },
+
+ {
+ 'target_name': 'version',
+ 'type': 'executable',
+ 'dependencies': [ 'expat' ],
+ 'sources': [ 'version.c' ]
+ },
+ ]
+}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git
More information about the Pkg-javascript-commits
mailing list