From 7bceea80d4a04649f495f4f4331d7e3bdcdb05ca Mon Sep 17 00:00:00 2001
From: Marijn Tamis Table Of Contents
@@ -203,7 +163,6 @@ Internet connection is required for this.
@@ -111,55 +113,13 @@
Edit scripts/locate_cuda.bat to point to the CUDA installation folder (that contains the bin, include and lib folder), edit scripts/locate_win8sdk.bat to point to the windows SDK (C:\Program Files (x86)\Windows Kits\8.1 by default)
Run CmakeGenerateAll.bat to generate the visual studio solution files in compiler/vcXXwinXX-cmake/. -Run samples/CmakeGenerateProjects.bat to generate the visual studio solution files in samples/compiler/vcXXwinXX-cmake/. For example Visual Studio 2015 solution with 64-bit target processor will be placed to compiler/vc14win64-cmake/ folder. Then open NvCloth.sln, choose the release/debug configuration and build the solution. The library binaries will be put to the bin folder next to the compiler folder.
The above project generation script has optional command line arguments to control whether CUDA/DX11 solvers should be enabled:
@@ -213,6 +172,8 @@ Then open NvCloth.slnCmakeGenerateProjects.bat 1 0
will include CUDA solver into the compilation but exclude the DX11 solver.
+Run samples/CmakeGenerateProjects.bat to generate the visual studio solution files for the samples in samples/compiler/vc14winXX-cmake/CmakeGenerateProjects.bat. +You need to build assimp first before building the samples. Run E:\nx0\sw\devrel\libdev\NvCloth\trunk\samples\external\assimp-4.1.0 and build samples\external\assimp-4.1.0\compiler\vc14winXX-cmake\Assimp.sln