Skip to content

Commit

Permalink
Add windows-x86_64 build to liquidfun
Browse files Browse the repository at this point in the history
Fixes #524
  • Loading branch information
nornagon committed Mar 6, 2018
1 parent 7e48c5b commit ff37bdf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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 ff37bdf

Please sign in to comment.