In that case you can disregard my first reply. If it is a file to be
used at runtime, then I would use file(COPY ...) or install() to export
the recources.txt from your source directory to your build directory.
Then you will have a flexible way that will also work in other setups.
It may seem
Forwarded Message
Subject:Re: Re: [CMake] opening files relative to cmake build directory
Date: Mon, 13 Jul 2015 17:00:52 +
From: Owen Alanzo Hogarth gurenc...@gmail.com
To: Micha Hergarden micha.hergar...@gmail.com
Resources.txt is a test but it's