summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-02-10 11:14:28 -0500
committerTom Rondeau <trondeau@vt.edu>2012-02-10 11:14:28 -0500
commit5c36c2dd5aa47acfb678595ad69792affd13bfbf (patch)
treed2a418c605f9c1f3679176a025b3a1f2281a812b /gr-howto-write-a-block
parent41107dfc64e460d2a71536a1f16d69bb68e1960d (diff)
parent39f86af88f9ed7d0ff922aab5bb7c9da95f2c730 (diff)
Merge branch 'master' into next
Diffstat (limited to 'gr-howto-write-a-block')
-rw-r--r--gr-howto-write-a-block/CMakeLists.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/gr-howto-write-a-block/CMakeLists.txt b/gr-howto-write-a-block/CMakeLists.txt
index 9d2d182585..58285ae8fd 100644
--- a/gr-howto-write-a-block/CMakeLists.txt
+++ b/gr-howto-write-a-block/CMakeLists.txt
@@ -115,6 +115,18 @@ set(GR_HOWTO_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE INTERNAL ""
set(GR_HOWTO_SWIG_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/swig CACHE INTERNAL "" FORCE)
########################################################################
+# Create uninstall target
+########################################################################
+configure_file(
+ ${CMAKE_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in
+ ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake
+@ONLY)
+
+add_custom_target(uninstall
+ ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake
+)
+
+########################################################################
# Add subdirectories
########################################################################
add_subdirectory(include)
@@ -123,4 +135,4 @@ add_subdirectory(swig)
add_subdirectory(python)
add_subdirectory(grc)
add_subdirectory(apps)
-add_subdirectory(docs) \ No newline at end of file
+add_subdirectory(docs)