Nils Gladitz wrote:
> To my defense what I suggested was "RUNTIME_OUTPUT_DIRECTORY" not
> "EXECUTABLE_OUTPUT_PATH".
You are correct and yes, RUNTIME_OUTPUT_DIRECTORY does the right thing.
Thanks for your help.
Erik
--
--
Erik
On 02.11.2014 21:01, Erik de Castro Lopo wrote:
I also discussed this issue on IRC with @ngladitz who suggested the following:
add_executable (win32_test tests/win32_test.c)
set_target_properties (win32_test PROPERTIES EXECUTABLE_OUTPUT_PATH tests)
To my defense what I suggested was
Rolf Eike Beer wrote:
> Because you can't create files or directories with that name, you would end
> up
> getting one directory "tests" and a file/directory win32_test*. And creating
> both with one API call isn't possible, so this may work if there is a
> directory "tests" before because of
On 2014-11-02 18:52+0100 Andreas Naumann wrote:
Hi Alan,
with cmake 2.8.12.1 I can confirm this behavior at least for Makefile
generator on Linux, see the attached small CMakeLists.txt. But what would be
a better behavior? Changing the target name would change the output at end.
So the user
Hi Alan,
with cmake 2.8.12.1 I can confirm this behavior at least for Makefile
generator on Linux, see the attached small CMakeLists.txt. But what
would be a better behavior? Changing the target name would change the
output at end. So the user would have to figure out, what changed why.
At th
Eike said:
Because you can't create files or directories with that name, you
would end up
getting one directory "tests" and a file/directory win32_test*. And
creating
both with one API call isn't possible, so this may work if there is a
directory "tests" before because of some other reason, b
Am Sonntag, 2. November 2014, 15:55:25 schrieb Erik de Castro Lopo:
> Hi,
>
> I'm a project maintainer. I just upgraded to CMake 3.0.2 and now I'm
> getting this:
>
> CMake Warning (dev) at CMakeLists.txt:284 (add_executable):
> Policy CMP0037 is not set: Target names should not be reserved
Hi,
I'm a project maintainer. I just upgraded to CMake 3.0.2 and now I'm
getting this:
CMake Warning (dev) at CMakeLists.txt:284 (add_executable):
Policy CMP0037 is not set: Target names should not be reserved and should
match a validity pattern. Run "cmake --help-policy CMP0037" for p