[Insight-developers] cmake questions

Bill Hoffman bill.hoffman@kitware.com
Tue, 24 Apr 2001 17:41:43 -0400


With the new changes to CMake, we were thinking of doing something like this:

OPTION(BUILD_NUMERICS_TESTS)

IF(BUILD_NUMERICS_TESTS)
ADD_EXECUTABLE(...)
ADD_EXECUTABLE(...)
...
ENDIF(BUILD_NUMERICS_TESTS)

Then the new GUI will give you a check box that you can turn off
the value.   On unix, you could edit the CMakeCache.txt file in
your build directory to turn off as many tests as you want off.

-Bill


At 05:35 PM 4/24/2001 -0400, Luis Ibanez wrote:

>On Tue, 24 Apr 2001, Vikram Chalana wrote:
>> Would it make sense to generate multiple dsw files, one for core ITK
>> libraries, one for Cmake, one or multiple for the various tests?
>>
>
>Totally agree,
>
>During development, we usually only want to have the core libraries
>and a couple of particular tests that we are debugging.
>
>Separate dsw files will be much easier to manage.
>
>The same is true on Unix where building all the test is not
>always desirable.
>
>Maybe an option for configure like "--with-tests" would be nice.
>
>
>
>Luis
>
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-developers