diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-10-19 15:56:03 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-10-19 15:56:03 -0400 |
commit | 890bff977eeff9a5d461812a0048c89ea30fd30a (patch) | |
tree | 73a1e45d68e75e769a996aee287c99ec8ec49067 /cmake | |
parent | 6c1b91678b5406fb10fe5d4692014f8017d1cf1c (diff) |
* proper check for Make
* fix documentation of ei_add_test
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/EigenTesting.cmake | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cmake/EigenTesting.cmake b/cmake/EigenTesting.cmake index f33e9fea1..22aea3d0d 100644 --- a/cmake/EigenTesting.cmake +++ b/cmake/EigenTesting.cmake @@ -110,13 +110,18 @@ endmacro(ei_add_test_internal) # Macro to add a test # -# the unique parameter testname must correspond to a file +# the unique mandatory parameter testname must correspond to a file # <testname>.cpp which follows this pattern: # # #include "main.h" # void test_<testname>() { ... } # -# Depending on the contents of that file, this macro can have 2 behaviors. +# Depending on the contents of that file, this macro can have 2 behaviors, +# see below. +# +# Optional parameters can be passed: the 2nd parameter is additional compile flags +# (optimization will be explicitly disabled for the debug test targets) and the 3rd +# parameter is libraries to link to. # # A. Default behavior # |