[Cmake] test target problems on Solaris 2.9

Stewart, Daniel J daniel . j . stewart at boeing . com
Tue, 15 Jul 2003 09:45:11 -0700


-----Original Message-----
From: Stewart, Daniel J 
Sent: Tuesday, July 15, 2003 8:33 AM
To: 'cmake at cmake . org'
Subject: test target problems on Solaris 2.9


Hello,

I am using cmake for java and C++ build and unit testing.  I have run into a
minor problem on Solaris.

Assume I have the following directory tree:

	root ------> source ------> test

Where all directories have a CMakeLists.txt file.  If I use the ADD_TEST
command in the test directory's CMakeLists.txt, the command "make test" will
run when executed from either "root" or "test".  However, if I run it from
"source", make echoes back "target test is up to date".  

Is there a workaround for this problem?

Running solaris 2.9, cmake 1.6.6

Dan Stewart