From 890bff977eeff9a5d461812a0048c89ea30fd30a Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 19 Oct 2009 15:56:03 -0400 Subject: * proper check for Make * fix documentation of ei_add_test --- cmake/EigenTesting.cmake | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'cmake') 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 # .cpp which follows this pattern: # # #include "main.h" # void test_() { ... } # -# 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 # -- cgit v1.2.3