[prev in list] [next in list] [prev in thread] [next in thread]
List: dart
Subject: Re: [Dart] CTEST
From: Andy Cedilnik <andy.cedilnik () kitware ! com>
Date: 2006-04-13 0:29:55
Message-ID: 443D9B83.8060709 () kitware ! com
[Download RAW message or body]
Hi Glenn,
Glenn wrote:
> hi i have made a simple c program "hello world" (hello.c)
> I want to make a test with CTEST but i' doens't work
> I have Visual C++ 6 installed and CMAke 2.2
>
> My CMakeLists.txt
>
> #1 Geef een naam op voor het volledige project (voor windows is dit de
> naam voor microsoft workspace)
> PROJECT(hello)
>
> #2 Vereist voor Dart en CTEST
> ENABLE_TESTING()
> INCLUDE(DART)
>
> #3 Build een executable
> ADD_EXECUTABLE(hello hello.c)
>
> #4 Test de executable
> ADD_TEST(testhello hello.exe)
Use:
ADD_TEST(testhello ${CMAKE_CURRENT_BINARY_DIR}/hello.exe)
Now you should be able to run:
ctest in your build tree.
Andy
>
> How can i make hello.exe with CTEST?
> _______________________________________________
> Dart mailing list
> Dart@public.kitware.com
> http://public.kitware.com/mailman/listinfo/dart
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic