Re: [CMake] Help using CMake Expat in Windows

2010-07-31 Thread Michael Jackson
On Fri, Jul 30, 2010 at 7:15 PM, John Drescher dresche...@gmail.com wrote: I have created a very simple CMake file (I am a newbie) that works wonderfully in Linux, but am having problems in Windows.  The CMakeLists.txt is below #I think 2.6 is required for some of things I do below, but I am

Re: [CMake] Help using CMake Expat in Windows

2010-07-31 Thread Clark Taylor
This is very helpful. Thank you! My other question though is how can I get Cmake to add the correct information into the visual studio solution. Even though I have put in the directory names in the cmake gui, I then have to add the same directories manually to the solution. Did I miss

Re: [CMake] Help using CMake Expat in Windows

2010-07-31 Thread Clark Taylor
Please ignore my last e-mail. For some reason, my e-mail ate Stefan's earlier response, but I just saw it in the digest I receive. I'll try his suggestions out and see if it works. Clark On Sat, Jul 31, 2010 at 10:21 AM, Clark Taylor clark.n.tay...@gmail.comwrote: This is very helpful.

Re: [CMake] Help using CMake Expat in Windows

2010-07-31 Thread Michael Jackson
Not sure if your issues are expat specific or just finding libraries in general but here is what I did. I created my own fork of Expat (http://gitorious.bluequartz.net/support-libraries/expat) which I build and install. I then set the EXPAT_INSTALL environment variable in my system. Then in my

Re: [CMake] Help using CMake Expat in Windows

2010-07-31 Thread Rolf Eike Beer
Am Samstag 31 Juli 2010, 00:59:36 schrieb Stefan Buschmann: Am 30.07.2010 22:23, schrieb Clark Taylor: ADD_EXECUTABLE(myApp ${Headers} ${Src}) You should not need to add ${Headers} here (usually only the sources should be compiled). If you do not include the headers to ADD_EXECUTABLE

Re: [CMake] Help using CMake Expat in Windows

2010-07-31 Thread John Drescher
On Sat, Jul 31, 2010 at 11:18 AM, Rolf Eike Beer e...@sf-mail.de wrote: Am Samstag 31 Juli 2010, 00:59:36 schrieb Stefan Buschmann: Am 30.07.2010 22:23, schrieb Clark Taylor: ADD_EXECUTABLE(myApp ${Headers} ${Src}) You should not need to add ${Headers} here (usually only the sources

[CMake] Help using CMake Expat in Windows

2010-07-30 Thread Clark Taylor
I have created a very simple CMake file (I am a newbie) that works wonderfully in Linux, but am having problems in Windows. The CMakeLists.txt is below #I think 2.6 is required for some of things I do below, but I am not sure CMAKE_MINIMUM_REQUIRED(VERSION 2.6) # This is the CMake file for my

Re: [CMake] Help using CMake Expat in Windows

2010-07-30 Thread Stefan Buschmann
Hi! Am 30.07.2010 22:23, schrieb Clark Taylor: I have created a very simple CMake file (I am a newbie) that works wonderfully in Linux, but am having problems in Windows. The CMakeLists.txt is below #I think 2.6 is required for some of things I do below, but I am not sure

Re: [CMake] Help using CMake Expat in Windows

2010-07-30 Thread John Drescher
I have created a very simple CMake file (I am a newbie) that works wonderfully in Linux, but am having problems in Windows.  The CMakeLists.txt is below #I think 2.6 is required for some of things I do below, but I am not sure CMAKE_MINIMUM_REQUIRED(VERSION 2.6) # This is the CMake file