]> git.cworth.org Git - apitrace/blobdiff - CMakeLists.txt
Don't package TODO.markdown anymore.
[apitrace] / CMakeLists.txt
index df4aed1d9199aa7a8c24d2be037381477f0145cc..88368effbd7cf41f44a3482b093aea3c0b41a205 100755 (executable)
@@ -17,6 +17,8 @@ endif ()
 # prescribed in http://www.gentoo.org/proj/en/qa/automagic.xml
 set (ENABLE_GUI "AUTO" CACHE STRING "Enable Qt GUI.")
 
+set (ENABLE_CLI true CACHE BOOL "Enable command Line interface.")
+
 set (ENABLE_EGL "AUTO" CACHE STRING "Enable EGL support.")
 
 
@@ -617,7 +619,9 @@ endif ()
 ##############################################################################
 # CLI
 
-add_subdirectory(cli)
+if (ENABLE_CLI)
+    add_subdirectory(cli)
+endif ()
 
 ##############################################################################
 # Scripts (to support the CLI)
@@ -647,7 +651,6 @@ install (
         LICENSE
         NEWS.markdown
         README.markdown
-        TODO.markdown
     DESTINATION ${DOC_INSTALL_DIR}
 )