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) +