Re: [CMake] Bash on ubuntu on windows as target

2016-08-10 Thread Máté Ferenc Nagy-Egri via CMake
+1 for the initiative. Wouldn’t it make more sense however to make it a CMAKE_SYSTEM_NAME? If I remember correctly that’s how MinGW works, and this should be something very similar. Feladó: Tiago Macarios-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

[CMake] Bash on ubuntu on windows as target

2016-08-10 Thread Tiago Macarios
Hi All, Windows 10 anniversary edition comes with support to execute Linux binaries. I have been trying to use it with one of our projects, but I have been getting a weird error. Maybe someone can help me? The target is pretty simple: set(BASH "C:\\Windows\\System32\\bash.exe") set(ARGS "--help"