Adding zeroMQ plugin.

parent a16883c7
NuGetPackages
# Created by https://www.gitignore.io/api/unity
# Edit at https://www.gitignore.io/?templates=unity
......
fileFormatVersion: 2
guid: e4b77d2e7e3534c0795ffb6ae7adf1c4
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 7de465b390c024a45b25fb183afcb353
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
NetMQ_VERSION=4.0.0.207
AsyncIO_VERSION=0.1.69
NUGET_DIRECTORY=NuGetPackages
UNITY=/Applications/Unity/Hub/Editor/2019.3.3f1/Unity.app/Contents/MacOS/Unity
UNITY_BATCH:=${UNITY} -batchmode -quit -noUpm -projectPath $(CURDIR)
......@@ -7,5 +11,19 @@ build: Build/physicssimulator.app
Build/physicssimulator.app: | Build
-${UNITY_BATCH} -buildOSX64Player $@
.PHONY: setup
setup: $(foreach P,AsyncIO NetMQ,Assets/Plugins/${P}.dll)
Assets/Plugins/NetMQ.dll: ${NUGET_DIRECTORY}/NetMQ.${NetMQ_VERSION}/lib/net40/NetMQ.dll
@mkdir -p ${@D}
cp $^ $@
Assets/Plugins/AsyncIO.dll: ${NUGET_DIRECTORY}/AsyncIO.${AsyncIO_VERSION}/lib/net40/AsyncIO.dll
@mkdir -p ${@D}
cp $^ $@
${NUGET_DIRECTORY}/NetMQ.${NetMQ_VERSION}/lib/net40/NetMQ.dll ${NUGET_DIRECTORY}/AsyncIO.${AsyncIO_VERSION}/lib/net40/AsyncIO.dll:
nuget install NetMQ -Version ${NetMQ_VERSION} -OutputDirectory ${NUGET_DIRECTORY}
Build:
@-mkdir -p $@
\ No newline at end of file
@mkdir -p $@
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment