na
>
>
>
>
> -Original Message-
> From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of
> EXT-York, Gantry
> Sent: Thursday, November 10, 2011 2:34 PM
> To: David Cole
> Cc: cmake@cmake.org
> Subject: Re: [CMake] Where are tests located?
main is at?
>
>
> -Original Message-
> From: David Cole [mailto:david.c...@kitware.com]
> Sent: Thursday, November 10, 2011 1:09 PM
> To: EXT-York, Gantry
> Cc: cmake@cmake.org
> Subject: Re: [CMake] Where are tests located?
>
> When you add an IMPORTED targ
Behalf Of
EXT-York, Gantry
Sent: Thursday, November 10, 2011 2:34 PM
To: David Cole
Cc: cmake@cmake.org
Subject: Re: [CMake] Where are tests located?
OK, so if I'm trying to add a test do I just
add_executable( run_main.pl IMPORTED )
set_property(
TARGET test_script1
PROPERTY IM
XT-York, Gantry
Cc: cmake@cmake.org
Subject: Re: [CMake] Where are tests located?
When you add an IMPORTED target, CMake does not know where the
imported target is AT ALL until you tell it.
After:
add_executable(run_main.pl IMPORTED)
You need:
set_property(TARGET run_main.pl P
e.org [mailto:cmake-boun...@cmake.org] On Behalf Of
EXT-York, Gantry
Sent: Thursday, November 10, 2011 1:01 PM
To: cmake@cmake.org
Subject: [CMake] Where are tests located?
When I do an
add_executable( run_main.pl IMPORTED)
add_test( test1 run_main.pl)
How does it know where run_main.pl is located whe
When you add an IMPORTED target, CMake does not know where the
imported target is AT ALL until you tell it.
After:
add_executable(run_main.pl IMPORTED)
You need:
set_property(TARGET run_main.pl PROPERTY IMPORTED_LOCATION
"${CMAKE_CURRENT_SOURCE_DIR}/run_main.pl")
See docs here:
http://cmak
When I do an
add_executable( run_main.pl IMPORTED)
add_test( test1 run_main.pl)
How does it know where run_main.pl is located when you do an out of source
build?
It seems to look in
.
Releases
Debug
MinSizeRel
RelWithDebInfo
Deployment
Development
which are directories that I don't even see ex