> See the new COMMAND style call to add_test:
Great, that was exactly what I was looking for.
Thanks for the help!
Ross
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Pleas
> I'm then calling ADD_TEST as follows -
>
> ADD_TEST(${TESTNAME} "${CMAKE_COMMAND}" -D
> WORKING_DIR=\${CMAKE_CFG_INTDIR} -P
> ${CMAKE_CURRENT_BINARY_DIR}/${TESTNAME}.cmake)
I forgot to mention that with CMAKE_CFG_INTDIR I also tried removing
the \ which was escaping the $ so that CMAKE_CFG_INTDI
>> ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${CMAKE_CFG_INTDIR}, which as I'm on
>> windows (I don't think this gets set on linux?), evaluates to either
>> ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Debug or
>> ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Release. So I would like my test to
>> have this information, and how
Hi,
I would like to add a test to my project (using ADD_TEST) and have it
"load" files from other directories in the project. These other files
that I would like it to load are library files (built by other targets
in the project) and config files (created by other targets). These
files are locate
I've searched and found a lot of references to setting this variable
in the CMakeCache.txt file, which I've tried to mimic. However what
ever technique I use it seems that ctest still formulates the make
command from the CTestConfig.cmake file. In extra verbose mode I can
see
SetMakeCommand
SetCTes
> In your toolchain file, what do you have
> CMAKE_FIND_ROOT_PATH_MODE_INCLUDE set to? If it is set to ONLY, then
> cmake will only look in the CMAKE_FIND_ROOT_PATH for boost, which is
> probably set to $QNX_TARGET. Since you most likely don't have boost in
> your $QNX_TARGET directory, findBoost w
I'm having a problem with FindBoost.cmake with cmake 2.6.3 under win32 when
cross-compiling only ( I have boost version 1.38.0). I have the environment
variable BOOST_ROOT set to the directory containing the install of boost. If
I build my project using "default native compilers" for VS 2008 the
Fi
> I've been using QNX and cmake together for a few weeks, and I've yet to
> have the problem that you indicated. In my QNX toolchain file I use the
> line:
>
> SET( CMAKE_AR
> "${QNX_HOST}/usr/bin/ntox86-ar${HOST_EXECUTABLE_SUFFIX}" CACHE PATH "QNX
ar Program" )
>
> -kito
Thanks for the help, tha
I'm having a problem creating a toolchain file for use with cmake 2.6.3. I'd
like to generate a UnixMakefile compatible with the QNX Momentics cross
platform development tools. The problem is cmake doesn't seem to find the
archiver which is named ntox86-ar.exe (as QNX runs on multiple platforms
the