Re: [Openocd-development] [PATCH] CMake Support

2009-04-16 Thread Dick Hollenbeck
Michael Schwingen wrote: > Dick Hollenbeck wrote: > >> I am not a CMake expert, but this is a decent first draft. I believe >> it will be possible to get to a point where you can build openocd just >> with simple tools on Windows, no need for CYGWIN or even a bash shell >> script.These scri

Re: [Openocd-development] [PATCH] CMake Support

2009-04-16 Thread Michael Schwingen
Dick Hollenbeck wrote: > > I am not a CMake expert, but this is a decent first draft. I believe > it will be possible to get to a point where you can build openocd just > with simple tools on Windows, no need for CYGWIN or even a bash shell > script.These scripts have been tested on Linux with

Re: [Openocd-development] [PATCH] CMake Support

2009-04-14 Thread Dick Hollenbeck
Kishore, Thank you for your efforts to make this usable by those who would. Attached is a single comprehensive patch, which should be used instead of my two previous patches. For those who would like to give it a spin, remember to use an out of source build, and to use the "ccmake" command

Re: [Openocd-development] [PATCH] CMake Support

2009-04-14 Thread Kishore
On Tuesday 14 Apr 2009 7:22:38 am Dick Hollenbeck wrote: > Index: src/helper/CMakeLists.txt > === > --- src/helper/CMakeLists.txt (revision 0) > +++ src/helper/CMakeLists.txt (revision 0) > @@ -0,0 +1,27 @@ > +# Copyright 2009 Sof

Re: [Openocd-development] [PATCH] CMake Support

2009-04-14 Thread Dick Hollenbeck
Øyvind Harboe wrote: > I am not very keen on changing anything in terms of > tools around openocd as there are a lot of developers out > there that are familiar with the current situation. Every so > often we get a request to use some new tool, switch version > control, etc. I believe that it is a

Re: [Openocd-development] [PATCH] CMake Support

2009-04-14 Thread Kishore
On Tuesday 14 Apr 2009 7:22:38 am Dick Hollenbeck wrote: > +if(RELEASE) > +set(RELSTR Release) > +set(PKGBLDREV "") > +else(RELEASE) > +set(RELSTR svn:) > +find_package(Subversion) > +if(Subversion_FOUND) > +subversion_wc_info( ${PROJECT_SOURCE_DIR} OPENOCD ) > +

Re: [Openocd-development] [PATCH] CMake Support

2009-04-14 Thread Øyvind Harboe
I am not very keen on changing anything in terms of tools around openocd as there are a lot of developers out there that are familiar with the current situation. Every so often we get a request to use some new tool, switch version control, etc. I believe that it is a good thing that any such switc

[Openocd-development] [PATCH] CMake Support

2009-04-13 Thread Dick Hollenbeck
See Dick make CMake files. Can you CMake any sense of this? http://www.vtk.org/Wiki/CMake_FAQ I find it easier to get work done in CMake than in any other build system that I have used. I am not a CMake expert, but this is a decent first draft. I believe it will be possible to get t