against libftdi-0, should be done for linftdi-1 too
--
Uwe Bonnes bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
>From 73f3ff94b0896e6c199485dd0442abf0001d8f02 Mon Sep 17 00:00:00 2001
From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 25 Jun 2010 18:37:02 +0200
Subject: CMAKE: Export the option to build/not build the examples
---
CMakeLists.txt | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8197615..3a15f14 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -86,7 +86,14 @@ endif(${UNIX})
add_subdirectory(src)
add_subdirectory(ftdipp)
add_subdirectory(bindings)
-add_subdirectory(examples)
+option(EXAMPLES "Generate API documentation with Doxygen" ON)
+# Change EXAMPLESoptions on the command line like cmake -DEXAMPLES:option=OFF
+if(EXAMPLES)
+ add_subdirectory(examples)
+ message(STATUS "Generating Examples")
+else(EXAMPLES)
+ message(STATUS "Not generating Examples")
+endif(EXAMPLES)
add_subdirectory(packages)
--
1.6.4.2
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|