Re: [CMake] how to specify a different source directory

2012-02-02 Thread aaron . meadows
-Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Dev Guy Sent: Thursday, February 02, 2012 8:11 PM To: CMake mailing list Subject: Re: [CMake] how to specify a different source directory On Thu, Feb 2, 2012 at 7:46 PM, Dev Guy wrote: > I h

Re: [CMake] how to specify a different source directory

2012-02-02 Thread Dev Guy
On Thu, Feb 2, 2012 at 7:46 PM, Dev Guy wrote: > I have a project file and within it I have created a test folder and > placed some testing code there. From my test CMakelist, I need to > access a .cpp file from the parent folder but I am not sure how to do > this? > > Thus the call to add_executa

[CMake] how to specify a different source directory

2012-02-02 Thread Dev Guy
I have a project file and within it I have created a test folder and placed some testing code there. From my test CMakelist, I need to access a .cpp file from the parent folder but I am not sure how to do this? Thus the call to add_executable fails because it can't locate the source file. -- Kin