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.

-- 
Kind Regards,
Rajinder Yadav
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to