diff options
author | Gael Guennebaud <g.gael@free.fr> | 2012-06-20 09:28:32 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2012-06-20 09:28:32 +0200 |
commit | 52dce0c126e67583a349e87a3f5eedee9de92dc7 (patch) | |
tree | 6f27c66cecfec258f22d096835424d6fa324f9fa /doc/special_examples/CMakeLists.txt | |
parent | 882912b85f7ea310fd76689d7e55b8f88e6d3cab (diff) |
significantly extend the tutorial of sparse matrices
Diffstat (limited to 'doc/special_examples/CMakeLists.txt')
-rw-r--r-- | doc/special_examples/CMakeLists.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/special_examples/CMakeLists.txt b/doc/special_examples/CMakeLists.txt new file mode 100644 index 000000000..eeeae1d2a --- /dev/null +++ b/doc/special_examples/CMakeLists.txt @@ -0,0 +1,20 @@ + +if(NOT EIGEN_TEST_NOQT) + find_package(Qt4) + if(QT4_FOUND) + include(${QT_USE_FILE}) + endif() +endif(NOT EIGEN_TEST_NOQT) + + +if(QT4_FOUND) + add_executable(Tutorial_sparse_example Tutorial_sparse_example.cpp Tutorial_sparse_example_details.cpp) + target_link_libraries(Tutorial_sparse_example ${EIGEN_STANDARD_LIBRARIES_TO_LINK_TO} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY}) + + add_custom_command( + TARGET Tutorial_sparse_example + POST_BUILD + COMMAND Tutorial_sparse_example + ARGS ${CMAKE_CURRENT_BINARY_DIR}/../html/Tutorial_sparse_example.jpeg + ) +endif(QT4_FOUND) |