-
Install cmake
-
Install Visual Studio 2017
-
Install git. For example: SourceTree
-
Build Poco (static libraries).
- Download Poco 1.10.1 and extract the file in a folder
- Start "Developer Command Prompt for VS 2017" and go to where Poco was extracted
- Execute the following in the command prompt
$ mkdir cmake-build $ cd cmake-build $ cmake .. -DBUILD_SHARED_LIBS=OFF -G "Visual Studio 15 2017" -A x64 $ cmake --build . --config MinSizeRel && cmake --build . --config Debug
For other types of Poco configurations, see Poco's Getting Started.
-
Add Poco_DIR environment variable to point to the Poco root folder above
-
Build zstd
- Download zstd-v1.4.4-win64 and extract the file in a folder
- Start "Developer Command Prompt for VS 2017" and go to where zstd was extracted
- Execute the following in the command prompt
$ cd build\VS2010 $ devenv zstd.sln /upgrade $ msbuild zstd.sln /p:Configuration=Release /p:Platform=x64
Start "Developer Command Prompt for VS 2017" and execute the following:
```
$ git clone https://github.com/unity3d-jp/MeshSync
$ cd MeshSync~\Plugin~\Build
$ cmake -G "Visual Studio 15 2017" -A x64 ..
$ msbuild MeshSyncPlugin.sln /t:Build /p:Configuration=MinSizeRel /p:Platform=x64 /m /nologo
```
This release build is linked against Poco's release libraries with the following configurations, whichever is found first:
- MinSizeRel
- Release
- RelWithDebInfo
For a regular "Command Prompt", there is a script: VsDevCmd_2017.bat under the Build folder, which if executed, will turn the prompt into a "Developer Command Prompt for VS 2017".
-
Install cmake
-
Install XCode
-
Install XCode Command Line tools
xcode-select --install
-
Install Homebrew
-
Install git. For example: SourceTree
-
Build Poco (static libraries).
- Download Poco 1.10.1 and extract the file in a folder
- Open a terminal and go to where Poco was extracted
- Execute the following in the command prompt
$ mkdir cmake-build $ cd cmake-build $ cmake .. -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=MinSizeRel && cmake --build . $ cmake .. -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Debug && cmake --build .
For other types of Poco configurations, see Poco's Getting Started.
-
Add Poco_DIR environment variable to point to the Poco root folder above. For example:
export Poco_DIR=~/MySDK/poco
It might also be good to add this command to ~/.bash_profile
-
Install the following via Homebrew
$ brew install zstd $ brew install tbb
Currently, the used version of each is:
- zstd:
stable 1.4.4
. - tbb:
stable 2020_U1
.
- zstd:
Open a terminal and execute the following
$ git clone https://github.com/unity3d-jp/MeshSync
$ cd MeshSync/Plugin~/Build
$ cmake -GXcode ..
$ xcodebuild -scheme mscore -configuration MinSizeRel build
There is a test project that can be created by specifying -DBUILD_TESTS=ON
.
- Windows
$ cmake -G "Visual Studio 15 2017" -A x64 .. -DBUILD_TESTS=ON
- Mac
$ cmake -GXcode .. -DBUILD_TESTS=ON
When this project is executed, it will send data to MeshSyncServer in Unity.