From e891474544af22a99aba1258190a5e9dc1493493 Mon Sep 17 00:00:00 2001 From: Michel Ferrero Date: Tue, 3 Jun 2014 17:24:08 +0200 Subject: [PATCH] Avoid that wrap_test gets installed --- test/pytriqs/wrap_test/CMakeLists.txt | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/test/pytriqs/wrap_test/CMakeLists.txt b/test/pytriqs/wrap_test/CMakeLists.txt index 9bc0bb9a..0de25da9 100644 --- a/test/pytriqs/wrap_test/CMakeLists.txt +++ b/test/pytriqs/wrap_test/CMakeLists.txt @@ -1,24 +1,13 @@ -SET(PYTHON_SOURCES - ${CMAKE_CURRENT_SOURCE_DIR}/__init__.py - ${CMAKE_CURRENT_SOURCE_DIR}/aux.py -) - -# Install python sources -install (FILES ${PYTHON_SOURCES} DESTINATION ${TRIQS_PYTHON_LIB_DEST}/wrap_test) - # Build C extension module -triqs_python_extension(my_module wrap_test) -triqs_python_extension(my_moduleB wrap_test) -triqs_python_extension(test_g wrap_test) -# ??triqs_set_rpath_for_target(my_module) +triqs_python_extension(my_module) +triqs_python_extension(my_moduleB) +triqs_python_extension(test_g) # the module B must be generated AFTER my_module since it uses some wrapped types... add_dependencies(python_wrap_my_moduleB python_wrap_my_module) - include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ) # A sample test with text output add_triqs_test_txt(wrap_a) -