Hi Alexander,<br><div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Thursday 14 June 2007 05:49, Raphael Cotty wrote:<br>&gt; Hi,<br>
&gt; I started to add a new generator for VisualDSP++ project files.<br>&gt; VisualDSP++ is a IDE for embedded processors (Blackfin, SHARC and<br>&gt; TigerSHARC).<br><br>Cool :-)<br>It would be nice if we get this working, but this will be quite some work.
<br><br>I just had a quick look at your sources, I guess as it is now it is already<br>usable for you.</blockquote><div><br>Not yet. I still have to add some information in the project files. For example I need to had a paragraphe for the assembler, linker and loader.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">For a full cmake generator you also need to support ADD_CUSTOM_COMMAND() and<br>
ADD_CUSTOM_TARGET(), i.e. running user defined commands when required and<br>getting the dependencies right.</blockquote><div><br>The IDE allows to add pre-build and post build command for a project which can be generated by ADD_CUSTOM_COMMAND(). But there is not parameters, dependencies...
<br>The IDE only allow to generate standard applications or libraries. So I don&#39;t think that ADD_CUSTOM_TARGET() can be implemented.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On the other hand it would be nice to support the AD toolchain natively in<br>CMake, i.e. that you can select the AD compiler as your compiler and have<br>CMake generate Makefiles for it.</blockquote><div><br>That&#39;s in the pipeline as well. The generation of the project files in interesting for me only to use the debugger. I want to build the software without the IDE using cmake generated makefiles.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">There shouldn&#39;t be too much work required to get this working, but you will
<br>need CMake from cvs HEAD.</blockquote><div><br>I am already using the HEAD. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I guess you don&#39;t have an OS on your targets ?</blockquote><div><br>Not realy, it&#39;s a real time monitor (VDK) <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
We will need to create a Generic-&lt;name_of_ad_compiler&gt;.cmake file, which<br>defines the rules for this compiler.<br>See <a href="http://www.cmake.org/Wiki/CMake_Cross_Compiling">http://www.cmake.org/Wiki/CMake_Cross_Compiling
</a> , you probably only need<br>the parts about setting up the toolchain and the toolchain file.<br><br>How can these compilers be detected ?<br>I just had a quick look at the documentation for the cc21k and it seems<br>
__EDG__, __EDG_VERSION__, __ECC__ and __ADSP21000__ would be good candidates.<br>What about the versions of this compiler for other architectures ?<br><br>The command line syntax also seems to be not too different from gcc, so it
<br>should be not too hard.</blockquote><div><br>The IDE can generate makefiles for gnu make. I&#39;ll use that to compare. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Bye<br>Alex<br></blockquote></div><br><br>Thanks<br>Raph<br>