Adding examples to cmake

This commit is contained in:
Mark Berrill
2014-06-18 13:54:12 -04:00
parent f8bb4d0603
commit f232b92978
6 changed files with 43 additions and 8 deletions

13
example/CMakeLists.txt Normal file
View File

@@ -0,0 +1,13 @@
# Copy the examples to the install folder
INSTALL_EXAMPLE( Bubble )
INSTALL_EXAMPLE( ConstrainedBubble )
INSTALL_EXAMPLE( Sph1896 )
# Create unit tests for each example
# TEST_EXAMPLE( example exe N_procs )
TEST_EXAMPLE( Bubble TestBubble 1 )
TEST_EXAMPLE( Sph1896 lb2_Color_wia_mpi 27 )
TEST_EXAMPLE( ConstrainedBubble lb2_Color_wia_mpi 1 )