<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Hi CMake people, <div><br><div>first off I'd like to thank the devs for such a great tool, you've done an awesome job with this project ;)</div>
</div><div><br></div><div>I'm currently trying to do a cmake mod based on the latest Git head. Basically I'm trying to add an alternative scripting language to work side-by-side with the original cmake macro language.</div>
<div>Up to now everything worked out quite well. To read my alternative list file I have modded the "cmMakefile::ReadListFile" method, but now I'm getting the following error if I try to generate a minimal sample project...</div>
<div><br></div><div>CMake Error: CMake can not determine linker language for target:helloDemo</div><div><br></div><div>It looks like I'm missing some initialization in my code that is necessary to retrieve the linker language when adding an executable via "add_executable" (since this is what I'm trying in my minimal sample).</div>
<div>Anyone any ideas what I could be doing wrong or where I should be looking for in the code?</div><div><br></div><div>PS: for the sake of completeness, here's my script code that I'm using to produce the mentioned problem, as you can see it's really a very simple test...</div>
<div><br></div><div><div>void main()</div><div>{</div><div><span style="white-space: pre-wrap; "> </span>// set the project name</div><div><span style="white-space: pre-wrap; ">       </span>Project.Name = "HELLO";</div>
<div><br></div><div><span style="white-space: pre-wrap; ">      </span>string[] files = { "demo/demo.cxx" };</div><div><span style="white-space: pre-wrap; ">       </span>Target.Executable("helloDemo", files);</div>
<div>}</div></div><div><br></div><div>Any help would be very appreciated,</div><div>cheers</div></span>