mirror of
https://github.com/triqs/dft_tools
synced 2024-12-26 06:14:14 +01:00
Avoid that wrap_test gets installed
This commit is contained in:
parent
89de284cc8
commit
e891474544
@ -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
|
# Build C extension module
|
||||||
triqs_python_extension(my_module wrap_test)
|
triqs_python_extension(my_module)
|
||||||
triqs_python_extension(my_moduleB wrap_test)
|
triqs_python_extension(my_moduleB)
|
||||||
triqs_python_extension(test_g wrap_test)
|
triqs_python_extension(test_g)
|
||||||
# ??triqs_set_rpath_for_target(my_module)
|
|
||||||
|
|
||||||
# the module B must be generated AFTER my_module since it uses some wrapped types...
|
# 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)
|
add_dependencies(python_wrap_my_moduleB python_wrap_my_module)
|
||||||
|
|
||||||
include_directories( ${CMAKE_CURRENT_SOURCE_DIR} )
|
include_directories( ${CMAKE_CURRENT_SOURCE_DIR} )
|
||||||
|
|
||||||
# A sample test with text output
|
# A sample test with text output
|
||||||
add_triqs_test_txt(wrap_a)
|
add_triqs_test_txt(wrap_a)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user