From 5fe1ebcc3b43a1a31ba8ee01c2bd6295467c7c0d Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Fri, 13 Sep 2013 19:16:08 +0200 Subject: [PATCH] add wrap_clean make target. -> to clean the cython wrappers. --- pytriqs/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pytriqs/CMakeLists.txt b/pytriqs/CMakeLists.txt index 6fbcbd46..c2504c86 100644 --- a/pytriqs/CMakeLists.txt +++ b/pytriqs/CMakeLists.txt @@ -22,3 +22,5 @@ install (FILES ${PYTHON_SOURCES} DESTINATION ${TRIQS_PYTHON_LIB_DEST}) add_all_subdirectories_with_cmakelist() +add_custom_target(wrap_clean COMMAND find ${CMAKE_BINARY_DIR} -name \"*.cpp\" |xargs rm) +