From 273680e5461ffd14530001cbdd571e5801fa6c23 Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Thu, 1 Jun 2017 11:18:28 -0400 Subject: [PATCH 1/2] Build libccd with double precision on Windows --- .appveyor.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 7b25a506d..4e307db63 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -31,7 +31,9 @@ before_build: curl -L -o libccd-2.0.tar.gz https://github.com/danfis/libccd/archive/v2.0.tar.gz && cmake -E tar zxf libccd-2.0.tar.gz && cd libccd-2.0 && - cmake -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_BUILD_TYPE=%Configuration% . && + mkdir build && + cd build && + cmake -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_BUILD_TYPE=%Configuration% -DCCD_DOUBLE=True .. && cmake --build . --target install --config %Configuration% && cd .. ) else (echo Using cached libccd) From 28e49ea672199b03697dcdb89057febe7a88b963 Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Wed, 14 Jun 2017 08:59:34 -0400 Subject: [PATCH 2/2] Fix out-of-source build of libccd --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 4e307db63..0584e61ca 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -35,7 +35,7 @@ before_build: cd build && cmake -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_BUILD_TYPE=%Configuration% -DCCD_DOUBLE=True .. && cmake --build . --target install --config %Configuration% && - cd .. + cd ..\.. ) else (echo Using cached libccd) - cmd: if not exist C:\"Program Files"\Eigen\include\eigen3\Eigen\Core ( curl -L -o eigen-eigen-dc6cfdf9bcec.tar.gz https://bitbucket.org/eigen/eigen/get/3.2.9.tar.gz &&