Re: [CMake] MSYS + MINGW + wx-config.sh

2007-02-14 Thread Peter Visser
Hi, Instead of trying to call wx-config directly, you can (should) use FIND_PACKAGE(wxWidgets), this will call the wx-config shell script and set the necessary/required variables. for example the wx_minimal sample: ### PROJECT(wx_minimal) FIND_PACKAGE(wxWidgets) IF(wxWidgets_FOUND)

Re: [CMake] MSYS + MINGW + wx-config.sh

2007-02-14 Thread Werner Smekal
Hi, if you run cmake in an MSYS shell, sh.exe is in the path - sh wx-config should just work than, or not? Do you call cmake with the option '-G MSYS Makefiles '? Werner klaas.holwerda wrote: Hi, I like to use Cmake for wxWidgets using MSYS + Mingw. And for that i need the output of

Re: [CMake] MSYS + MINGW + wx-config.sh

2007-02-14 Thread klaas.holwerda
Werner Smekal wrote: Hi Klaas, I don't actually understand your problem correctly. As I understand you have MSYS, wxWidgets compiled with MSYS and want somehow call wx-config which is a bash script from the cmake file? Is this correct? I want to have the output of wx-config, which is a shell