Re: [cmake-developers] Chaining custom commands in VS 2010

2013-03-05 Thread Brad King
On 12/04/2012 07:30 PM, James Bigler wrote:
 Is there something CMake can do to correct this error/bug with VS 2010?

I've narrowed this case down to a single hand-written test.vcxproj
file with no connection to CMake.  Here is a session:

 echo Input 1 in1.txt
 echo Input 2 in2.txt
 echo Input 3 in3.txt
 msbuild test.vcxproj
 CustomBuild:
   CustomBuild in1.txt to out1.txt
   CustomBuild in2.txt to out2.txt
   CustomBuild out1.txt + out2.txt to out3.txt

 msbuild test.vcxproj
 CustomBuild:
   All outputs are up-to-date.

 echo Input 1 in1.txt
 msbuild test.vcxproj
 CustomBuild:
   CustomBuild in1.txt to out1.txt

 msbuild test.vcxproj
 CustomBuild:
   CustomBuild out1.txt + out2.txt to out3.txt

 msbuild test.vcxproj
 CustomBuild:
   All outputs are up-to-date.

 echo Input 2 in2.txt
 msbuild test.vcxproj
 CustomBuild:
   CustomBuild in2.txt to out2.txt
   CustomBuild out1.txt + out2.txt to out3.txt

Note that the second case works correctly.  If I switch the order
of the CustomBuild elements for in1.txt and in2.txt in test.vcxproj
then the behavior switches to work correctly in the first case but
not the second.

Can you bring this up in a MS support forum?

-Brad
?xml version=1.0 encoding=utf-8?
Project DefaultTargets=Build ToolsVersion=4.0 xmlns=http://schemas.microsoft.com/developer/msbuild/2003;
  ItemGroup Label=ProjectConfigurations
ProjectConfiguration Include=Debug|Win32
  ConfigurationDebug/Configuration
  PlatformWin32/Platform
/ProjectConfiguration
  /ItemGroup
  PropertyGroup Label=Globals
ProjectGuid{9897183D-D7EC-E471-979C-9BA70FE6B905}/ProjectGuid
  /PropertyGroup
  Import Project=$(VCTargetsPath)\Microsoft.Cpp.Default.props /
  PropertyGroup Condition='$(Configuration)|$(Platform)'=='Debug|Win32' Label=Configuration
ConfigurationTypeUtility/ConfigurationType
  /PropertyGroup
  Import Project=$(VCTargetsPath)\Microsoft.Cpp.props /
  PropertyGroup
_ProjectFileVersion10.0.20506.1/_ProjectFileVersion
IntDir Condition='$(Configuration)|$(Platform)'=='Debug|Win32'Debug\/IntDir
  /PropertyGroup
  ItemGroup
CustomBuild Include=in1.txt
  Message Condition='$(Configuration)|$(Platform)'=='Debug|Win32'CustomBuild in1.txt to out1.txt/Message
  Command Condition='$(Configuration)|$(Platform)'=='Debug|Win32'type in1.txt gt;out1.txt/Command
  Outputs Condition='$(Configuration)|$(Platform)'=='Debug|Win32'out1.txt/Outputs
/CustomBuild
  /ItemGroup
  ItemGroup
CustomBuild Include=in2.txt
  Message Condition='$(Configuration)|$(Platform)'=='Debug|Win32'CustomBuild in2.txt to out2.txt/Message
  Command Condition='$(Configuration)|$(Platform)'=='Debug|Win32'type in2.txt gt;out2.txt/Command
  Outputs Condition='$(Configuration)|$(Platform)'=='Debug|Win32'out2.txt/Outputs
/CustomBuild
  /ItemGroup
  ItemGroup
CustomBuild Include=in3.txt
  Message Condition='$(Configuration)|$(Platform)'=='Debug|Win32'CustomBuild out1.txt + out2.txt to out3.txt/Message
  Command Condition='$(Configuration)|$(Platform)'=='Debug|Win32'type out1.txt out2.txt gt;out3.txt 2gt;NUL/Command
  Outputs Condition='$(Configuration)|$(Platform)'=='Debug|Win32'out3.txt/Outputs
  AdditionalInputs Condition='$(Configuration)|$(Platform)'=='Debug|Win32'out1.txt;out2.txt/AdditionalInputs
/CustomBuild
  /ItemGroup
  Import Project=$(VCTargetsPath)\Microsoft.Cpp.targets /
/Project

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

[cmake-developers] [CMake 0013985]: FindQt4 fails if Qt5 qmake is called qmake

2013-03-05 Thread Mantis Bug Tracker

The following issue has been SUBMITTED. 
== 
http://public.kitware.com/Bug/view.php?id=13985 
== 
Reported By:Janne Rönkkö
Assigned To:
== 
Project:CMake
Issue ID:   13985
Category:   CMake
Reproducibility:always
Severity:   major
Priority:   high
Status: new
== 
Date Submitted: 2013-03-05 11:39 EST
Last Modified:  2013-03-05 11:39 EST
== 
Summary:FindQt4 fails if Qt5 qmake is called qmake
Description: 
If Qt4 and Qt5 are installed so that qmake is qmake from Qt5 and qmake4 or
qmake-qt4 is from Qt4 the FindQt4 module does not find Qt4 but says it found
Qt5.

On Archlinux the qmake is currently from Qt5 and qmake-qt4 is the qmake from
Qt4.

The attached patch fixes the issue. I left out some strange find_program code
that should not be needed in reasonably configured system.

Steps to Reproduce: 
$ cat ../CMakeLists.txt 
cmake_minimum_required( VERSION 2.8 )

project( test )

find_package( Qt4 REQUIRED )
$ cmake ..
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/lib/colorgcc/bin/cc
-- Check for working C compiler: /usr/lib/colorgcc/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/colorgcc/bin/c++
-- Check for working CXX compiler: /usr/lib/colorgcc/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
CMake Error at /usr/share/cmake-2.8/Modules/FindQt4.cmake:1216 (message):
  Found unsuitable Qt version 5.0.1 from /usr/bin/qmake, this code requires
  Qt 4.x
Call Stack (most recent call first):
  CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!

== 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2013-03-05 11:39 Janne Rönkkö   New Issue
2013-03-05 11:39 Janne Rönkkö   File Added: 0001-Fix-FindQt4-module.patch 
  
==

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Re: [cmake-developers] Chaining custom commands in VS 2010

2013-03-05 Thread Brad King
On 03/05/2013 10:27 AM, Brad King wrote:
 On 12/04/2012 07:30 PM, James Bigler wrote:
 Is there something CMake can do to correct this error/bug with VS 2010?
 
 I've narrowed this case down to a single hand-written test.vcxproj
 file with no connection to CMake.  Here is a session:

This also happens with VS 2012.  I modified the .vcxproj file with
the patch below and ran msbuild with the /p:VisualStudioVersion=11.0
option.  Otherwise the session is the same.

-Brad

@@ -12,6 +12,7 @@
   Import Project=$(VCTargetsPath)\Microsoft.Cpp.Default.props /
   PropertyGroup Condition='$(Configuration)|$(Platform)'=='Debug|Win32' 
Label=Configuration
 ConfigurationTypeUtility/ConfigurationType
+PlatformToolsetv110/PlatformToolset
   /PropertyGroup
   Import Project=$(VCTargetsPath)\Microsoft.Cpp.props /
   PropertyGroup
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Preparing for 2.8.11-rc1

2013-03-05 Thread Stephen Kelly
Alexander Neundorf wrote:

 did you get around to add handling for usr-move to the relative directory
 references for exports-files ?
 Otherwise I'll see whether I find time this week.

I didn't work more on that, no, as I wrote here:

 
http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/5868/focus=5985

You may have already realised that, for the same reason, I didn't work more 
on this stuff either:

 
http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/6106/focus=6161

That branch was just a proof of concept.

Thanks,

Steve.


--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Summer of code and Pascal

2013-03-05 Thread Vittorio Giovara
Umh, ping on this one.
Submission period for mentoring orgs start on the 18th and I would like to
know a little earlier if/how/when cmake support is going be announced (or
announce-able).

Thanks,
Vittorio

Sent from my iPad Mini

On 21/feb/2013, at 09:56, Vittorio Giovara vittorio.giov...@gmail.com
wrote:

So how do you think we could move on from this?
Should we start wording an idea proposal? Should there be news posting on
each website advertising this collaboration?

Vittorio

On Mon, Feb 11, 2013 at 4:03 PM, Bill Hoffman bill.hoff...@kitware.comwrote:

 On 2/8/2013 8:55 PM, Vittorio Giovara wrote:

 Hi all,
 I'm one of the developer of Hedgewars, an open source video game written
 in c++ and Pascal, using CMake as build system. Please see the full site
 at http://www.hedgewars.org/

 Right now our pascal integration is a little hack-y,
 http://code.google.com/p/**hedgewars/source/browse/**
 hedgewars/CMakeLists.txthttp://code.google.com/p/hedgewars/source/browse/hedgewars/CMakeLists.txtas
 we just add many 'custom_command' and 'custom_target' all around the
 place. This has caused issues on many many platforms, especially at the
 linking stage.

 I was wondering whether it would it be possible to have the Pascal
 language as one officially supported languages, so that it'd be
 possible to write add_sources() on the .pas files and live happily ever
 after.


 If so, I think we could make this work thanks to the Google Summer of
 Code! This program (*if* they announce it) basically introduces students
 to the world of FOSS development by having them work on a project for an
 open source organization during the summer.

 I don't know if CMake wants to participate this year, but in case not,
 if there is one developer willing to act as mentor for a student,
 Hedgewars (*if* selected) would happily allocate one of its students to
 work on this task and act as a umbrella for this single project
 targeting CMake sources. Of course the student would still have to write
 a sensible project proposal for being accepted.


 What do you think of this idea?
 Cheers,
 Vittorio (koda on #hedgewars)


 Sounds cool to me.   What is the state of pascal compilers these days? Are
 they cross platform?  Do they work in the traditional c model of .pas -
 .o?   Is it more complicated?

 -Bill


 --
 Bill Hoffman
 Kitware, Inc.
 28 Corporate Drive
 Clifton Park, NY 12065
 bill.hoff...@kitware.com
 http://www.kitware.com
 518 881-4905 (Direct)
 518 371-3971 x105
 Fax (518) 371-4573
 --

 Powered by www.kitware.com

 Visit other Kitware open-source projects at http://www.kitware.com/**
 opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/**CMake_FAQhttp://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/cgi-**bin/mailman/listinfo/cmake-**developershttp://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Re: [cmake-developers] Preparing for 2.8.11-rc1

2013-03-05 Thread Stephen Kelly
Stephen Kelly wrote:

 So, I think it's mature enough for release now, yes.

It might be worth documenting it a bit more prominently though...

Any opinion on this?

Thanks,


Author: Stephen Kelly steve...@gmail.com
Date:   Tue Mar 5 23:01:22 2013 +0100

Mention that IMPORTED targets may be created by a find_package call.

diff --git a/Source/cmFindPackageCommand.cxx 
b/Source/cmFindPackageCommand.cxx
index 470ceca..cf60351 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -95,7 +95,8 @@ void cmFindPackageCommand::GenerateDocumentation()
 Finds and loads settings from an external project.  
 package_FOUND will be set to indicate whether the package was found.  

 When the package is found package-specific information is provided 
-through variables documented by the package itself.  
+through variables documented by the package itself.  Packages may also 

+define imported targets for use with target_link_libraries.  
 The QUIET option disables messages if the package cannot be found.  
 The MODULE option disables the second signature documented below.  
 The REQUIRED option stops processing with an error message if the 



--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Preparing for 2.8.11-rc1

2013-03-05 Thread Brad King
On 3/5/2013 5:05 PM, Stephen Kelly wrote:
 Stephen Kelly wrote:
 
 So, I think it's mature enough for release now, yes.
 
 It might be worth documenting it a bit more prominently though...
 
 Any opinion on this?

I think the patch can be simpler:

-through variables documented by the package itself.  
+through variables and imported targets documented by the package itself.  


IMO it is up to the package to advertise imported targets
in its documentation.

-Brad
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [CMake] Can we control component package name in 2.8.8?

2013-03-05 Thread hce
Eric Noulard wrote
 Has the issue been resolved in 2.8.10?
 
 Nope.
 And I have very little hope for 2.8.11 either since I have not free
 time windows  visibility
 to work on that for myself now...
 
 Sorry.
 -- 
 Erk
 Le gouvernement représentatif n'est pas la démocratie --
 http://www.le-message.org

Thanks Eric for the update. Currently I can only run command line to select
the module one by one in a build directory:

$ rm -rf *
$ cmake ../Source
$ ccmake . (select one module, press c and press q)
$ make
$ cpack -G RPM

An alternative way is to run it as a loop to clean the cache, compile and
package each module in a bash script and to run ccmake without interactive
select module, press c and press q, but I have no idea how to do it in the
Linux command line and bash script. Has anyone tried? Or is there other
alternative to workaround? Appreciate any advice.

Thank you.

Kind regards.

J











--
View this message in context: 
http://cmake.3232098.n2.nabble.com/Can-we-control-component-package-name-in-2-8-8-tp7580641p7583490.html
Sent from the CMake mailing list archive at Nabble.com.
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

[CMake] Check for working C compiler using: Visual Studio 10 -- broken

2013-03-05 Thread Mateusz Loskot
Hi,

Here is my environment:
- Windows 7 (64-bit).
- CMake 2.8.10.2
- Visual Studio 2010 Professional
- Visual Studio 2012 Professional (Update 1)

All VS installations work well with hand-crafted projects,
no problems building from IDE, no problems building from
corresponding command line prompts.

I launch Visual Studio Command Prompt (2010) and try to configure
CMake-based project, and I'm getting the status from the subject line.

Here is detailed CMake output:


d:\dev\soci\_git\build-sqlite3cmake -G Visual Studio 10 ..\soci\src
-- The C compiler identification is MSVC 16.0.30319.1
-- The CXX compiler identification is MSVC 16.0.30319.1
-- Check for working C compiler using: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10 -- broken
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler C:/Program Files (x86)/Microsoft Visual Studio
  10.0/VC/bin/cl.exe is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: D:/dev/soci/_git/build-sqlite3/CMakeFiles/CMakeTmp

  Run Build Command:C:\PROGRA~2\MICROS~2.0\Common7\IDE\devenv.com
  CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2214779388

  Microsoft (R) Visual Studio Version 10.0.30319.1.
  Copyright (C) Microsoft Corp.  All rights reserved.

  1-- Build started: Project: cmTryCompileExec2214779388, Configuration:
  Debug Win32 --

  1Build started 05/03/2013 15:34:40.
  1PrepareForBuild:
  1 Creating directory
  D:\dev\soci\_git\build-sqlite3\CMakeFiles\CMakeTmp\Debug\.
  1InitializeBuildStatus:
  1 Creating
  
cmTryCompileExec2214779388.dir\Debug\cmTryCompileExec2214779388.unsuccessfulbuild
  because AlwaysCreate was specified.
  1ClCompile:
  1 Microsoft (R) 32-bit C/C++ Optimizing Compiler Version
16.00.30319.01 for 80x86
  1 Copyright (C) Microsoft Corporation.  All rights reserved.
  1
  1 cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D
  CMAKE_INTDIR=\Debug\ /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
  /Zc:wchar_t /Zc:forScope /FocmTryCompileExec2214779388.dir\Debug\\
  
/FdD:/dev/soci/_git/build-sqlite3/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2214779388.pdb
  /Gd /TC /analyze- /errorReport:prompt testCCompiler.c /Zm1000
  1
  1 testCCompiler.c
  1LINK : fatal error LNK1123: failure during conversion to COFF:
file invalid or corrupt
  1
  1Build FAILED.
  1
  1Time Elapsed 00:00:00.44
  == Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:15 (project)

-- Configuring incomplete, errors occurred!

d:\dev\soci\_git\build-sqlite3



I have searched Web and this kind of error seems to be recurring,
some users even suggest to uninstall/reinstall Visual Studio...
Note, both VS versions work well with projects I already have.

I'm confused, what is the correct solution?

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Check for working C compiler using: Visual Studio 10 -- broken

2013-03-05 Thread Bill Hoffman

On 3/5/2013 10:45 AM, Mateusz Loskot wrote:

Hi,

Here is my environment:
- Windows 7 (64-bit).
- CMake 2.8.10.2
- Visual Studio 2010 Professional
- Visual Studio 2012 Professional (Update 1)

All VS installations work well with hand-crafted projects,
no problems building from IDE, no problems building from
corresponding command line prompts.

I launch Visual Studio Command Prompt (2010) and try to configure
CMake-based project, and I'm getting the status from the subject line.

Here is detailed CMake output:


d:\dev\soci\_git\build-sqlite3cmake -G Visual Studio 10 ..\soci\src
-- The C compiler identification is MSVC 16.0.30319.1
-- The CXX compiler identification is MSVC 16.0.30319.1
-- Check for working C compiler using: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10 -- broken
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
   The C compiler C:/Program Files (x86)/Microsoft Visual Studio
   10.0/VC/bin/cl.exe is not able to compile a simple test program.

   It fails with the following output:

Change Dir: D:/dev/soci/_git/build-sqlite3/CMakeFiles/CMakeTmp

   Run Build Command:C:\PROGRA~2\MICROS~2.0\Common7\IDE\devenv.com
   CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2214779388

   Microsoft (R) Visual Studio Version 10.0.30319.1.
   Copyright (C) Microsoft Corp.  All rights reserved.

   1-- Build started: Project: cmTryCompileExec2214779388, Configuration:
   Debug Win32 --

   1Build started 05/03/2013 15:34:40.
   1PrepareForBuild:
   1 Creating directory
   D:\dev\soci\_git\build-sqlite3\CMakeFiles\CMakeTmp\Debug\.
   1InitializeBuildStatus:
   1 Creating
   
cmTryCompileExec2214779388.dir\Debug\cmTryCompileExec2214779388.unsuccessfulbuild
   because AlwaysCreate was specified.
   1ClCompile:
   1 Microsoft (R) 32-bit C/C++ Optimizing Compiler Version
16.00.30319.01 for 80x86
   1 Copyright (C) Microsoft Corporation.  All rights reserved.
   1
   1 cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D
   CMAKE_INTDIR=\Debug\ /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
   /Zc:wchar_t /Zc:forScope /FocmTryCompileExec2214779388.dir\Debug\\
   
/FdD:/dev/soci/_git/build-sqlite3/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2214779388.pdb
   /Gd /TC /analyze- /errorReport:prompt testCCompiler.c /Zm1000
   1
   1 testCCompiler.c
   1LINK : fatal error LNK1123: failure during conversion to COFF:
file invalid or corrupt
   1
   1Build FAILED.
   1
   1Time Elapsed 00:00:00.44
   == Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==

   CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
   CMakeLists.txt:15 (project)

-- Configuring incomplete, errors occurred!

d:\dev\soci\_git\build-sqlite3



I have searched Web and this kind of error seems to be recurring,
some users even suggest to uninstall/reinstall Visual Studio...
Note, both VS versions work well with projects I already have.

I'm confused, what is the correct solution?


I found this:

http://stackoverflow.com/questions/10888391/link-fatal-error-lnk1123-failure-during-conversion-to-coff-file-invalid-or-c

You could run cmake --debug-trycompile, then load the .sln file in the 
CMakeTmp directory with the IDE and see why it does not work.  Sounds 
like a .NET version issue.  I would try some of the stuff in that 
stackoverflow link.




Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake




--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoff...@kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[CMake] RE: Check for working C compiler using: Visual Studio 10 -- broken

2013-03-05 Thread David Cole
Is your VS 2010 up to date with respect to available service packs?

 

Does this same exact thing happen every time when you are starting from a clean 
build tree?

 


From: Mateusz Loskot
Sent: ‎March‎ ‎5‎, ‎2013 ‎10‎:‎45‎ ‎AM
To: cmake@cmake.org
Subject: [CMake] Check for working C compiler using: Visual Studio 10 -- broken


Hi,

Here is my environment:
- Windows 7 (64-bit).
- CMake 2.8.10.2
- Visual Studio 2010 Professional
- Visual Studio 2012 Professional (Update 1)

All VS installations work well with hand-crafted projects,
no problems building from IDE, no problems building from
corresponding command line prompts.

I launch Visual Studio Command Prompt (2010) and try to configure
CMake-based project, and I'm getting the status from the subject line.

Here is detailed CMake output:


d:\dev\soci\_git\build-sqlite3cmake -G Visual Studio 10 ..\soci\src
-- The C compiler identification is MSVC 16.0.30319.1
-- The CXX compiler identification is MSVC 16.0.30319.1
-- Check for working C compiler using: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10 -- broken
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler C:/Program Files (x86)/Microsoft Visual Studio
  10.0/VC/bin/cl.exe is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: D:/dev/soci/_git/build-sqlite3/CMakeFiles/CMakeTmp

  Run Build Command:C:\PROGRA~2\MICROS~2.0\Common7\IDE\devenv.com
  CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2214779388

  Microsoft (R) Visual Studio Version 10.0.30319.1.
  Copyright (C) Microsoft Corp.  All rights reserved.

  1-- Build started: Project: cmTryCompileExec2214779388, Configuration:
  Debug Win32 --

  1Build started 05/03/2013 15:34:40.
  1PrepareForBuild:
  1 Creating directory
  D:\dev\soci\_git\build-sqlite3\CMakeFiles\CMakeTmp\Debug\.
  1InitializeBuildStatus:
  1 Creating
  
cmTryCompileExec2214779388.dir\Debug\cmTryCompileExec2214779388.unsuccessfulbuild
  because AlwaysCreate was specified.
  1ClCompile:
  1 Microsoft (R) 32-bit C/C++ Optimizing Compiler Version
16.00.30319.01 for 80x86
  1 Copyright (C) Microsoft Corporation.  All rights reserved.
  1
  1 cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D
  CMAKE_INTDIR=\Debug\ /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
  /Zc:wchar_t /Zc:forScope /FocmTryCompileExec2214779388.dir\Debug\\
  
/FdD:/dev/soci/_git/build-sqlite3/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2214779388.pdb
  /Gd /TC /analyze- /errorReport:prompt testCCompiler.c /Zm1000
  1
  1 testCCompiler.c
  1LINK : fatal error LNK1123: failure during conversion to COFF:
file invalid or corrupt
  1
  1Build FAILED.
  1
  1Time Elapsed 00:00:00.44
  == Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:15 (project)

-- Configuring incomplete, errors occurred!

d:\dev\soci\_git\build-sqlite3



I have searched Web and this kind of error seems to be recurring,
some users even suggest to uninstall/reinstall Visual Studio...
Note, both VS versions work well with projects I already have.

I'm confused, what is the correct solution?

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Check for working C compiler using: Visual Studio 10 -- broken

2013-03-05 Thread John Drescher
On Tue, Mar 5, 2013 at 10:58 AM, David Cole dlrd...@aol.com wrote:
 Is your VS 2010 up to date with respect to available service packs?


I was going to ask that because Visual Studio 2010 RTM has a nasty
optimizer bug that caused me some pain in the past. SP1 fixed that
issue.


John
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Check for working C compiler using: Visual Studio 10 -- broken

2013-03-05 Thread Mateusz Loskot
On 5 March 2013 15:58, David Cole dlrd...@aol.com wrote:
 Is your VS 2010 up to date with respect to available service packs?

Nope, I don't use SP1.
But, before VS2012 installation yesterday, everything worked perfectly well
(with regard to CMake).

 Does this same exact thing happen every time when you are starting from a
 clean build tree?

Yes, it does.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Check for working C compiler using: Visual Studio 10 -- broken

2013-03-05 Thread Mateusz Loskot
On 5 March 2013 15:58, Bill Hoffman bill.hoff...@kitware.com wrote:
 On 3/5/2013 10:45 AM, Mateusz Loskot wrote:

 Here is my environment:
 - Windows 7 (64-bit).
 - CMake 2.8.10.2
 - Visual Studio 2010 Professional
 - Visual Studio 2012 Professional (Update 1)

 All VS installations work well with hand-crafted projects,
 no problems building from IDE, no problems building from
 corresponding command line prompts.

 I launch Visual Studio Command Prompt (2010) and try to configure
 CMake-based project, and I'm getting the status from the subject line.

 Here is detailed CMake output:


 
 d:\dev\soci\_git\build-sqlite3cmake -G Visual Studio 10 ..\soci\src
 -- The C compiler identification is MSVC 16.0.30319.1
 -- The CXX compiler identification is MSVC 16.0.30319.1
 -- Check for working C compiler using: Visual Studio 10
 -- Check for working C compiler using: Visual Studio 10 -- broken
 CMake Error at C:/Program Files (x86)/CMake
 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler C:/Program Files (x86)/Microsoft Visual Studio
10.0/VC/bin/cl.exe is not able to compile a simple test program.

It fails with the following output:

 Change Dir: D:/dev/soci/_git/build-sqlite3/CMakeFiles/CMakeTmp

Run Build Command:C:\PROGRA~2\MICROS~2.0\Common7\IDE\devenv.com
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2214779388

Microsoft (R) Visual Studio Version 10.0.30319.1.
Copyright (C) Microsoft Corp.  All rights reserved.

1-- Build started: Project: cmTryCompileExec2214779388,
 Configuration:
Debug Win32 --

1Build started 05/03/2013 15:34:40.
1PrepareForBuild:
1 Creating directory
D:\dev\soci\_git\build-sqlite3\CMakeFiles\CMakeTmp\Debug\.
1InitializeBuildStatus:
1 Creating

 cmTryCompileExec2214779388.dir\Debug\cmTryCompileExec2214779388.unsuccessfulbuild
because AlwaysCreate was specified.
1ClCompile:
1 Microsoft (R) 32-bit C/C++ Optimizing Compiler Version
 16.00.30319.01 for 80x86
1 Copyright (C) Microsoft Corporation.  All rights reserved.
1
1 cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D
CMAKE_INTDIR=\Debug\ /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /FocmTryCompileExec2214779388.dir\Debug\\

 /FdD:/dev/soci/_git/build-sqlite3/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2214779388.pdb
/Gd /TC /analyze- /errorReport:prompt testCCompiler.c /Zm1000
1
1 testCCompiler.c
1LINK : fatal error LNK1123: failure during conversion to COFF:
 file invalid or corrupt
1
1Build FAILED.
1
1Time Elapsed 00:00:00.44
== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
 ==

CMake will not be able to correctly generate this project.
 Call Stack (most recent call first):
CMakeLists.txt:15 (project)

 -- Configuring incomplete, errors occurred!

 d:\dev\soci\_git\build-sqlite3

 


 I have searched Web and this kind of error seems to be recurring,
 some users even suggest to uninstall/reinstall Visual Studio...
 Note, both VS versions work well with projects I already have.

 I'm confused, what is the correct solution?


 I found this:

 http://stackoverflow.com/questions/10888391/link-fatal-error-lnk1123-failure-during-conversion-to-coff-file-invalid-or-c

Bill,

I think I know this error well, but I experienced that at different occasion
not related to CMake. AFAIK, it simply means object files or binaries
being linked are
incompatible (i.e. one .obj built with VC++ from VS2010, the other
.obj by VS2012)

 You could run cmake --debug-trycompile, then load the .sln file in the
 CMakeTmp directory with the IDE and see why it does not work.  Sounds like a
 .NET version issue.  I would try some of the stuff in that stackoverflow link.

Nice tip with the solution in the CMakeTmp, I had no idea about it.

I figured out that the VS2010 project there, cmTryCompileExec3417082516.vcxproj,
specifies for linker  /INCREMENTAL:YES
If I change to /INCREMENTAL:NO, then it builds.

Still not sure how the VS2010/VS2012 toolsets interfere here,
but it looks like this mess is not related to any problems with CMake.

Thanks!

Best regards.
--
Mateusz Loskot, http://mateusz.loskot.net
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[CMake] ExternalProject and hardwired src directory

2013-03-05 Thread Luc J. Bourhis
Hi,

if one sets EP_PREFIX, let's say to /usr/local, then ExternalProject_Add
will create directories /usr/local/src/name* for each project name. I
understand this is somehow standard on Linux for example but unfortunately
for my application at hand, /usr/local/src is where my source code should
come! It would be nice in the future to have a bit more flexibility here. If
one could set a new variable EP_SRC_DIRECTORY for example, that would be
fantastic.

Meanwhile, I can only juggle I guess.

Best wishes,
--
Luc J. Bourhis




-
--
Luc J. Bourhis

--
View this message in context: 
http://cmake.3232098.n2.nabble.com/ExternalProject-and-hardwired-src-directory-tp7583497.html
Sent from the CMake mailing list archive at Nabble.com.
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] ExternalProject and hardwired src directory

2013-03-05 Thread Ansis Māliņš
I don't think you're supposed to set PREFIX to a system path. To avoid
needing root to configure and compile among other things.

I always set PREFIX to CMAKE_BINARY_DIR and so far I can't imagine any
reason to ever set it to anything else.
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Check for working C compiler using: Visual Studio 10 -- broken

2013-03-05 Thread Bill Hoffman

On 3/5/2013 11:40 AM, Mateusz Loskot wrote:

Nice tip with the solution in the CMakeTmp, I had no idea about it.

I figured out that the VS2010 project there, cmTryCompileExec3417082516.vcxproj,
specifies for linker  /INCREMENTAL:YES
If I change to /INCREMENTAL:NO, then it builds.

Still not sure how the VS2010/VS2012 toolsets interfere here,
but it looks like this mess is not related to any problems with CMake.
Seems to match what is in that stackoverflow article.  Taking off 
incremental seemed to fix the problem for them as well.   If you read 
that thread close, there seems to be ways to fix the problem...


-Bill

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] ExternalProject and hardwired src directory

2013-03-05 Thread Luc J. Bourhis
Ansis Māliņš wrote
 I don't think you're supposed to set PREFIX to a system path. To avoid
 needing root to configure and compile among other things.
 I always set PREFIX to CMAKE_BINARY_DIR and so far I can't imagine any
 reason to ever set it to anything else.

True enough. Thanks for pointing that out. But this is orthogonal to my
problem: if I set EP_PREFIX to $HOME/develop, then ExternalProject_Add will
help me install everything in $HOME/develop/include, $HOME/develop/lib, etc,
which I want, but it will also create those $HOME/develop/src/name*
directories that I don't want because my Python/C++ code should go to
$HOME/develop/src. When it's all built, I then use CPack to create an
installer for the whole app now in develop, installer which would put it in
/usr/local. It turns out that I sometimes work directly with /usr/local,
after a chown (yes, horror!) but I am afraid this is just a distraction in
this discussion.



-
--
Luc J. Bourhis

--
View this message in context: 
http://cmake.3232098.n2.nabble.com/ExternalProject-and-hardwired-src-directory-tp7583497p7583500.html
Sent from the CMake mailing list archive at Nabble.com.
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] ExternalProject and hardwired src directory

2013-03-05 Thread Ansis Māliņš
You can override parts of PREFIX with these
   TMP_DIR  = prefix/tmp
   STAMP_DIR= prefix/src/name-stamp
   DOWNLOAD_DIR = prefix/src
   SOURCE_DIR   = prefix/src/name
   BINARY_DIR   = prefix/src/name-build
   INSTALL_DIR  = prefix
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

[CMake] Hiring: simple Cmake build setup

2013-03-05 Thread Casey Basichis
Hi,

I have a project I'm looking to hire for.

My target is iOS.  I have two small simple libraries with no or minimal
dependencies and autoconf builds that I need to Cmake to cross compile on
iOS/Clang/Libc++.

I am also interested i discussing a somewhat more holistic effort towards a
nightly type test setup.

Currently I am copying folders as revision control and building in xcode.

I look forward to learning Cmake in the long run, but I need to get up and
running in the mean time.

Thanks,
Casey
-- 
Casey James Basichis
Composer - Adventure Time - Cartoon Network
http://www.caseyjamesbasichis.com
caseybasic...@gmail.com
310.387.7540
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Having trouble using the LINK_SEARCH_START_STATIC target property

2013-03-05 Thread Alan W. Irwin

It turned out this user was a Windows user who was actually interested in
changing the runtime.  So we are looking at the 3rd method indicated
at
http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_build_my_MSVC_application_with_a_static_runtime.3F.

However, out of curiosity I am still interested in why
LINK_SEARCH_START_STATIC gives such peculiar results.  In particular
if the results below are due to a bug, I hope that will be addressed
rather than ignored.

Alan

On 2013-03-03 18:59-0800 Alan W. Irwin wrote:

A PLplot user has requested static linking of the plplotd library to external 
libraries

so as an experient I tried

set_target_properties(plplotd PROPERTIES
 LINK_SEARCH_START_STATIC ON)

to ask for static linking where possible for that library.

For CMake2.8.10.2 on Linux and with all internal PLplot libraries
linked as shared rather than static I get the following link command
from this:

/usr/bin/cc  -fPIC -O3 -fvisibility=hidden-shared
-Wl,-soname,libplplotd.so.11 -o libplplotd.so.11.0.0
CMakeFiles/plplotd.dir/pdfutils.c.o
...
CMakeFiles/plplotd.dir/pllegend.c.o
-Wl,-Bdynamic -lltdl -lm ../lib/csa/libcsirocsa.so.0.0.1
../lib/nn/libcsironn.so.0.0.1 ../lib/qsastime/libqsastime.so.0.0.1
-lfreetype /home/software/shapelib/install/lib/libshp.so -Wl,-Bstatic
-Wl,-rpath,/home/software/plplot_svn/HEAD/build_dir/lib/csa:/home/software/plplot_svn/HEAD/build_dir/lib/nn:/home/software/plplot_svn/HEAD/build_dir/lib/qsastime:/home/software/shapelib/install/lib:

Why does -Wl,-Bdynamic (rather than the desired -Wl,-Bstatic) appear
right before the relevant -l link options for the external libraries?
And what is the point of specifying -Wl,-Bstatic after all those -l
options are completed?


From the documentation of LINK_SEARCH_START_STATIC, it's a target

property I could use to link libplplotd to, e.g.,
/usr/lib/x86_64-linux-gnu/libltdl.a rather than
/usr/lib/x86_64-linux-gnu/libltdl.so (both of which are installed on
my system).  But that -Wl,-Bdynamic right before -lltdl assures
libplplotd is linked to libltdl.so, just the exact opposite of the
intended result.

I suspect I am missing something, e.g., I have to do something else
to get LINK_SEARCH_START_STATIC to work properly) so comments from
those familiar with this target property would be welcome.

Alan
__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__

Linux-powered Science
__
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html


Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ


Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake



__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__

Linux-powered Science
__
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[Cmake-commits] CMake branch, next, updated. v2.8.10.2-2388-g721b0e5

2013-03-05 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, next has been updated
   via  721b0e5fb9a2c944b4fd9c95d6cb7f87b253fe2c (commit)
   via  5fe9855624c1a998eb57a1123a5b358646f3914b (commit)
  from  8965cf74cd40213721aa797f704ea6872ef15958 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=721b0e5fb9a2c944b4fd9c95d6cb7f87b253fe2c
commit 721b0e5fb9a2c944b4fd9c95d6cb7f87b253fe2c
Merge: 8965cf7 5fe9855
Author: Brad King brad.k...@kitware.com
AuthorDate: Tue Mar 5 11:32:11 2013 -0500
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Mar 5 11:32:11 2013 -0500

Merge topic 'FindImageMagick-v6.8.0-8' into next

5fe9855 FindImageMagick: Search quantum depth suffixes (#13859)


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5fe9855624c1a998eb57a1123a5b358646f3914b
commit 5fe9855624c1a998eb57a1123a5b358646f3914b
Author: Slava Sysoltsev slavasysolt...@gmx.de
AuthorDate: Fri Mar 1 08:02:22 2013 -0500
Commit: Brad King brad.k...@kitware.com
CommitDate: Fri Mar 1 08:09:28 2013 -0500

FindImageMagick: Search quantum depth suffixes (#13859)

From ImageMagick's 6.8.0-8 changelog:

  http://www.imagemagick.org/script/changelog.php
  ABI is incompatible if quantum depth change.
  Add abi indication to library name.

Search for library names with -Q16 and -Q8 suffixes.

Reported-by: Evangelos Foutras evange...@foutrelis.com

diff --git a/Modules/FindImageMagick.cmake b/Modules/FindImageMagick.cmake
index bf09616..4aaefb7 100644
--- a/Modules/FindImageMagick.cmake
+++ b/Modules/FindImageMagick.cmake
@@ -147,17 +147,17 @@ foreach(component ${ImageMagick_FIND_COMPONENTS}
 )
   if(component STREQUAL Magick++)
 FIND_IMAGEMAGICK_API(Magick++ Magick++.h
-  Magick++ CORE_RL_Magick++_
+  Magick++ CORE_RL_Magick++_ Magick++-Q16 Magick++-Q8
   )
 list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_Magick++_LIBRARY)
   elseif(component STREQUAL MagickWand)
 FIND_IMAGEMAGICK_API(MagickWand wand/MagickWand.h
-  Wand MagickWand CORE_RL_wand_
+  Wand MagickWand CORE_RL_wand_ MagickWand-Q16 MagickWand-Q8
   )
 list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_MagickWand_LIBRARY)
   elseif(component STREQUAL MagickCore)
 FIND_IMAGEMAGICK_API(MagickCore magick/MagickCore.h
-  Magick MagickCore CORE_RL_magick_
+  Magick MagickCore CORE_RL_magick_ MagickCore-Q16 MagickCore-Q8
   )
 list(APPEND ImageMagick_REQUIRED_VARS ImageMagick_MagickCore_LIBRARY)
   else()

---

Summary of changes:
 Modules/FindImageMagick.cmake |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.10.2-812-g631b7b8

2013-03-05 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  631b7b8e15a0dd6169fdc2583198ff73a03551d8 (commit)
   via  308c5a2670a7551c00637d481c111ef345d3ae3c (commit)
  from  4871960ea0772764774161d485d3f5b7d62367ac (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=631b7b8e15a0dd6169fdc2583198ff73a03551d8
commit 631b7b8e15a0dd6169fdc2583198ff73a03551d8
Merge: 4871960 308c5a2
Author: Brad King brad.k...@kitware.com
AuthorDate: Tue Mar 5 14:10:55 2013 -0500
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Mar 5 14:10:55 2013 -0500

Merge topic 'vs10-stack-size'

308c5a2 VS 10: Fix CMAKE_LANG_STACK_SIZE implementation (#13968)


---

Summary of changes:
 Source/cmVisualStudio10TargetGenerator.cxx |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.10.2-814-gbbfc1ce

2013-03-05 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  bbfc1ce94210919648d63f5a210a88739c858dc8 (commit)
   via  5ab1259140e56863ad913c090bedea288fe8ac54 (commit)
  from  631b7b8e15a0dd6169fdc2583198ff73a03551d8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bbfc1ce94210919648d63f5a210a88739c858dc8
commit bbfc1ce94210919648d63f5a210a88739c858dc8
Merge: 631b7b8 5ab1259
Author: Brad King brad.k...@kitware.com
AuthorDate: Tue Mar 5 14:11:02 2013 -0500
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Mar 5 14:11:02 2013 -0500

Merge topic 'FixPreLinkTest'

5ab1259 Use PRE_LINK instead of PRE_BUILD when testing PRE_LINK.


---

Summary of changes:
 Tests/Complex/Executable/CMakeLists.txt |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v2.8.10.2-2392-gd559bec

2013-03-05 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, next has been updated
   via  d559bec27163c17935eb2cbeab0e41cf0e8fbdc5 (commit)
   via  bbfc1ce94210919648d63f5a210a88739c858dc8 (commit)
   via  631b7b8e15a0dd6169fdc2583198ff73a03551d8 (commit)
   via  4871960ea0772764774161d485d3f5b7d62367ac (commit)
  from  721b0e5fb9a2c944b4fd9c95d6cb7f87b253fe2c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d559bec27163c17935eb2cbeab0e41cf0e8fbdc5
commit d559bec27163c17935eb2cbeab0e41cf0e8fbdc5
Merge: 721b0e5 bbfc1ce
Author: Brad King brad.k...@kitware.com
AuthorDate: Tue Mar 5 14:11:08 2013 -0500
Commit: Brad King brad.k...@kitware.com
CommitDate: Tue Mar 5 14:11:08 2013 -0500

Merge branch 'master' into next


---

Summary of changes:
 Source/CMakeVersion.cmake |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.10.2-815-gefdf152

2013-03-05 Thread Kitware Robot
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  efdf152fe1582be3e39f3a16e0ddaeb386fe1c20 (commit)
  from  bbfc1ce94210919648d63f5a210a88739c858dc8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=efdf152fe1582be3e39f3a16e0ddaeb386fe1c20
commit efdf152fe1582be3e39f3a16e0ddaeb386fe1c20
Author: Kitware Robot kwro...@kitware.com
AuthorDate: Wed Mar 6 00:01:10 2013 -0500
Commit: Kitware Robot kwro...@kitware.com
CommitDate: Wed Mar 6 00:01:10 2013 -0500

CMake Nightly Date Stamp

diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake
index 34c0bc3..d20ec62 100644
--- a/Source/CMakeVersion.cmake
+++ b/Source/CMakeVersion.cmake
@@ -2,5 +2,5 @@
 set(CMake_VERSION_MAJOR 2)
 set(CMake_VERSION_MINOR 8)
 set(CMake_VERSION_PATCH 10)
-set(CMake_VERSION_TWEAK 20130305)
+set(CMake_VERSION_TWEAK 20130306)
 #set(CMake_VERSION_RC 1)

---

Summary of changes:
 Source/CMakeVersion.cmake |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits