瀏覽代碼

build: more emscripten build fixes.

undefined
Sam Hocevar 11 年之前
父節點
當前提交
07fc08c198
共有 2 個檔案被更改,包括 3 行新增2 行删除
  1. +2
    -1
      test/Makefile.am
  2. +1
    -1
      test/btphystest.cpp

+ 2
- 1
test/Makefile.am 查看文件

@@ -43,8 +43,9 @@ btphystest_SOURCES = \
btphystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/bullet \
-DHAVE_PHYS_USE_BULLET
btphystest_DEPENDENCIES = @LOL_DEPS@
btphystest_LDFLAGS = $(AM_LDFLAGS)
if USE_EMSCRIPTEN
btphystest_LDFLAGS = --preload-file data/CatsSheet.png
btphystest_LDFLAGS += --preload-file data
endif

meshviewer_SOURCES = meshviewer.cpp \


+ 1
- 1
test/btphystest.cpp 查看文件

@@ -21,7 +21,7 @@ using namespace lol;
#include "physics/lolphysics.h"
#include "physics/easyphysics.h"

#define CAT_MODE 0
#define CAT_MODE 1
#define OBJ_SIZE 2.f
#include "physicobject.h"



Loading…
取消
儲存