This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 224
[[ Gypify ]] Gypify missing lcidlc project file #3017
Merged
livecodefraser
merged 10 commits into
livecode:develop
from
montegoulding:feature/gypify_lcidl
Oct 8, 2015
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
cfdf422
[[ Gypify ]] Gypify missing lcidlc project file
7d19b96
[[ Gypify ]] Generate files into intermediate directory
4beb768
Don't build lcidlc on emscripten or iOS platforms
peter-b 3826f86
Merge pull request #1 from peter-b/patch-1
d41b071
Don't compile lcidlc for android
2f64e97
Fix formatting issues and lowercase intermediate dir
821bb64
[[ Gyp-LCIDLC ]] Work around a Gyp bug in passing command arguments
livecodefraser 64f7a2c
[[ Gyp-LCIDLC ]] Windows: ensure LCIDLC is build as a console applica…
livecodefraser fb83987
Merge pull request #2 from livecodefraser/feature/gypify_lcidl-win_fixes
64ff620
Add comment about workaround
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,135 @@ | ||
| { | ||
| # ----- lcidlc ----- | ||
| 'includes': | ||
| [ | ||
| '../common.gypi', | ||
| ], | ||
|
|
||
| 'targets': | ||
| [ | ||
| { | ||
| 'target_name': 'lcidlc', | ||
| 'type': 'executable', | ||
|
|
||
| 'dependencies': | ||
| [ | ||
| '../libfoundation/libfoundation.gyp:libFoundation', | ||
| 'encode_support', | ||
| ], | ||
|
|
||
| 'include_dirs': | ||
| [ | ||
| 'include', | ||
| 'src', | ||
| ], | ||
|
|
||
| 'sources': | ||
| [ | ||
| 'include/LiveCode.h', | ||
|
|
||
| 'src/Coder.h', | ||
| 'src/Coder.cpp', | ||
| 'src/CString.h', | ||
| 'src/CString.cpp', | ||
| 'src/Error.h', | ||
| 'src/Error.cpp', | ||
| 'src/Interface.h', | ||
| 'src/Interface.cpp', | ||
| 'src/InterfaceGenerate.cpp', | ||
| 'src/InterfacePrivate.h', | ||
| 'src/Main.cpp', | ||
| 'src/NativeType.h', | ||
| 'src/NativeType.cpp', | ||
| 'src/Parser.h', | ||
| 'src/Parser.cpp', | ||
| 'src/Position.h', | ||
| 'src/Position.cpp', | ||
| 'src/Scanner.h', | ||
| 'src/Scanner.cpp', | ||
| 'src/Value.h', | ||
| 'src/Value.cpp', | ||
|
|
||
| '<(SHARED_INTERMEDIATE_DIR)/lcidlc/EncodedJavaSupport.c', | ||
| '<(SHARED_INTERMEDIATE_DIR)/lcidlc/EncodedSupport.c', | ||
| ], | ||
|
|
||
| 'conditions': | ||
| [ | ||
| [ | ||
| # Don't compile on android, iOS or emscripten | ||
| 'OS == "android" or OS == "ios" or OS == "emscripten"', | ||
| { | ||
| 'type': 'none', | ||
| }, | ||
| ], | ||
| ], | ||
|
|
||
| 'msvs_settings': | ||
| { | ||
| 'VCLinkerTool': | ||
| { | ||
| 'SubSystem': 1, # /SUBSYSTEM:CONSOLE | ||
| }, | ||
| }, | ||
| }, | ||
| { | ||
| 'target_name': 'encode_support', | ||
| 'type': 'none', | ||
|
|
||
| 'sources': | ||
| [ | ||
| 'src/Support.java', | ||
| 'src/Support.mm', | ||
| ], | ||
|
|
||
| 'actions': | ||
| [ | ||
| { | ||
| 'action_name': 'Encode Support.mm', | ||
|
|
||
| 'inputs': | ||
| [ | ||
| '../util/encode_source.pl', | ||
| 'src/Support.mm', | ||
| ], | ||
| 'outputs': | ||
| [ | ||
| '<(SHARED_INTERMEDIATE_DIR)/lcidlc/EncodedSupport.c', | ||
| ], | ||
|
|
||
| 'action': | ||
| [ | ||
| '<@(perl)', | ||
| '../util/encode_source.pl', | ||
| 'src/Support.mm', | ||
| '<(SHARED_INTERMEDIATE_DIR)/lcidlc/EncodedSupport.c', | ||
| 'g_support_template', | ||
| ], | ||
| }, | ||
| { | ||
| 'action_name': 'Encode Support.java', | ||
|
|
||
| 'inputs': | ||
| [ | ||
| '../util/encode_source.pl', | ||
| 'src/Support.java', | ||
| ], | ||
|
|
||
| 'outputs': | ||
| [ | ||
| '<(SHARED_INTERMEDIATE_DIR)/lcidlc/EncodedJavaSupport.c', | ||
| ], | ||
|
|
||
| 'action': | ||
| [ | ||
| '<@(perl)', | ||
| '../util/encode_source.pl', | ||
| 'src/Support.java', | ||
| '<(SHARED_INTERMEDIATE_DIR)/lcidlc/EncodedJavaSupport.c', | ||
| 'g_java_support_template', | ||
| ], | ||
| }, | ||
| ], | ||
| }, | ||
| ], | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there's a missing ']' here (JSON definitely isn't the easiest build configuration syntax to read!).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be fixed now. Would be handy if it were standard JSON so we could run a validator on it. It seemed to work so obviously gyp isn't overly fussy...