[CMake] Simple_Mingw_Linux2Win fails: fixed

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Aug 8 10:38:32 EDT 2007


On 8/8/07, Alexander Neundorf <a.neundorf-work at gmx.net> wrote:
> On Wednesday 08 August 2007 09:33, Mathieu Malaterre wrote:
> > On 8/8/07, Alexander Neundorf <a.neundorf-work at gmx.net> wrote:
> ...
> > > Do you have the CXX environment variable set ?
> >
> > Nothing under CXX, but I do have a CXXFLAGS...
>
> I changed Tests/CMakeLists.txt so it should work now, now the CXX compiler is
> specified too.


I do not understand how the test ever passed without the target C++
compier... Anyway this is fixed here:

 84/ 89 Testing Simple_Mingw_Linux2Win
Test command: /home/mmalaterre/Dashboards/MyTests/CMake-gcc42/bin/ctest
--build-and-test
/home/mmalaterre/Dashboards/MyTests/CMake/Tests/Simple
/home/mmalaterre/Dashboards/MyTests/CMake-gcc42/Tests/Simple_Mingw_Linux2Win
--build-generator Unix\ Makefiles --build-project Simple
--build-makeprogram /usr/bin/make --build-options
-DCMAKE_SYSTEM_NAME=Windows
-DCMAKE_C_COMPILER=/usr/bin/i586-mingw32msvc-gcc
-DCMAKE_CXX_COMPILER=/usr/bin/i586-mingw32msvc-g++
Internal cmake changing into directory:
/home/mmalaterre/Dashboards/MyTests/CMake-gcc42/Tests/Simple_Mingw_Linux2Win
======== CMake output     ======
======== End CMake output ======
[ 25%] Building CXX object CMakeFiles/simpleLib.dir/simpleLib.o
[ 50%] Building C object CMakeFiles/simpleLib.dir/simpleCLib.o
[ 75%] Building CXX object CMakeFiles/simpleLib.dir/simpleWe.o
Linking CXX static library libsimpleLib.a
[ 75%] Built target simpleLib
[100%] Building CXX object CMakeFiles/Simple.dir/simple.o
Linking CXX executable Simple.exe
[100%] Built target Simple
-- Process completed
   Passed

-- 
Mathieu


More information about the CMake mailing list