]> git.cworth.org Git - apitrace-tests/blobdiff - README.markdown
Use path to apitrace executable instead.
[apitrace-tests] / README.markdown
index 91ff21af18d6e0d4e1e2980231a61d2951ff4d55..28204282f236c039f845b8a1af123426c77c837c 100644 (file)
@@ -6,10 +6,16 @@ In addition to apitrace requirements, it also requires:
 
 * GLEW
 
 
 * GLEW
 
-To run the test suite do:
+To run the test suite do on Unices:
 
 
-    cmake -DAPITRACE_BINARY_DIR=/path/to/apitrace/build/ .
+    cmake -DAPITRACE_EXECUTABLE=/path/to/apitrace -H. -B./build
     export CTEST_OUTPUT_ON_FAILURE=1
     export CTEST_OUTPUT_ON_FAILURE=1
-    make all test
+    make -C ./build all test
 
 
-Detailed log will be written to `Testing/Temporary/LastTest.log`.
+Or on Windows:
+
+    cmake -G "Visual Studio 10" -H. -B.\build
+    cmake --build .\build --target ALL_BUILD
+    cmake --build .\build --target RUN_TESTS
+
+A detailed log will be written to `Testing/Temporary/LastTest.log`.