Skip to content

Commit

Permalink
Add windows-x86_64 build to liquidfun
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon committed Mar 19, 2018
1 parent 9366a2e commit 894acb5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ environment:
OS: windows-x86_64
- PROJ: "systems"
OS: windows-x86_64
- PROJ: "liquidfun"
OS: windows-x86_64

- PROJ: "opencv"
OS: windows-x86_64
Expand Down
6 changes: 6 additions & 0 deletions liquidfun/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ case $PLATFORM in
make -j $MAKEJ
make install/strip
;;
windows-x86_64)
cd liquidfun/Box2D
CC="$OLDCC -m64" CXX="$OLDCXX -m64" $CMAKE -DBOX2D_INSTALL=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH -DBOX2D_BUILD_SHARED=ON -DBOX2D_BUILD_EXAMPLES=OFF -DBOX2D_BUILD_UNITTESTS=OFF
make -j $MAKEJ
make install/strip
;;
macosx-*)
patch -Np1 <$INSTALL_PATH/../../liquidfun-macosx.patch
cd liquidfun/Box2D
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/

@Properties(target = "org.bytedeco.javacpp.liquidfun", value = {
@Platform(value = {"linux-x86", "macosx"},
@Platform(value = {"linux-x86", "macosx", "windows-x86_64"},
define = "LIQUIDFUN_EXTERNAL_LANGUAGE_API 1",
include = {"<Box2D/Common/b2Settings.h>",
"<Box2D/Common/b2Math.h>",
Expand Down

0 comments on commit 894acb5

Please sign in to comment.