[CMake] Makefile doesn't automatically create executable path as Ninja

2013-09-03 Thread Felipe Menezes Machado
Hi, I'm having trouble understanding this behavior: what happens if the directory of the executable doesn't exist? I created a minimum example CMakeLists.txt (where foo.cpp is just a hello world): add_executable(test/test.bin foo.cpp) If the test directory doesn't exist, should the build

Re: [CMake] Makefile doesn't automatically create executable path as Ninja

2013-09-03 Thread Matthew Woehlke
On 2013-09-03 13:21, Felipe Menezes Machado wrote: I'm having trouble understanding this behavior: what happens if the directory of the executable doesn't exist? I created a minimum example CMakeLists.txt (where foo.cpp is just a hello world): add_executable(test/test.bin foo.cpp) If the test

Re: [CMake] Makefile doesn't automatically create executable path as Ninja

2013-09-03 Thread Andreas Pakulat
Hi, On Tue, Sep 3, 2013 at 7:41 PM, Felipe Menezes Machado feli...@gmail.comwrote: On Tue, Sep 3, 2013 at 2:33 PM, Matthew Woehlke matthew.woeh...@kitware.com wrote: On 2013-09-03 13:21, Felipe Menezes Machado wrote: I'm having trouble understanding this behavior: what happens if the

Re: [CMake] Makefile doesn't automatically create executable path as Ninja

2013-09-03 Thread Felipe Menezes Machado
On Tue, Sep 3, 2013 at 2:33 PM, Matthew Woehlke matthew.woeh...@kitware.com wrote: On 2013-09-03 13:21, Felipe Menezes Machado wrote: I'm having trouble understanding this behavior: what happens if the directory of the executable doesn't exist? I created a minimum example CMakeLists.txt