Re: [CMake] Cmake hangs on testing -- Check for working C compiler using: Visual Studio 10

2012-02-18 Thread John Drescher
On Sat, Feb 18, 2012 at 11:23 PM, Nicky Perian  wrote:
> Applied 5 additional microsoft updates related to sp1 and seems to by
> working. Need to follow my own advice and apply updates to exhaustion.

I do have Microsoft Update running on all machines that I use CMake/VS
2010 and all of them are kept up to date.

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] Cmake hangs on testing -- Check for working C compiler using: Visual Studio 10

2012-02-18 Thread John Drescher
> Now I don't know what is happening. This is no longer working. Back to
> hanging up.
>

I have never had this hang and I use visual studio 2010 SP1 daily for
over a year with cmake. Now I am on cmake-2.8.7 however I have used
probably every other 2.8 release as well.

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] Cmake hangs on testing -- Check for working C compiler using: Visual Studio 10

2012-02-18 Thread Nicky Perian
Now I don't know what is happening. This is no longer working. Back to
hanging up.

On Sun, Feb 19, 2012 at 7:59 AM, Nicky Perian  wrote:

> Mantis == 0011968: cmake uses wrong project-guid entry (Visual Studio
> 2010): "ProjectGUID"
>
> This is marked minor. The solution is in deed minor. The steps to the
> solution are anything but.
>
> Find in Files "ProjectGUID" Replace "ProjectGuid" in
> /CMakeFiles/*.*
>
> Rerun your generator and the solutions is made.
>
> Should be able to build your solution
>
>
>
> On Sun, Feb 19, 2012 at 2:53 AM, Nicky Perian wrote:
>
>> This hang happened after installing Visual Studio 10 Service Pack 1.
>>
>> Is there a known workaround for this?
>>
>>
>>
>
--

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] Cmake hangs on testing -- Check for working C compiler using: Visual Studio 10

2012-02-18 Thread Nicky Perian
Mantis == 0011968: cmake uses wrong project-guid entry (Visual Studio
2010): "ProjectGUID"

This is marked minor. The solution is in deed minor. The steps to the
solution are anything but.

Find in Files "ProjectGUID" Replace "ProjectGuid" in
/CMakeFiles/*.*

Rerun your generator and the solutions is made.

Should be able to build your solution


On Sun, Feb 19, 2012 at 2:53 AM, Nicky Perian  wrote:

> This hang happened after installing Visual Studio 10 Service Pack 1.
>
> Is there a known workaround for this?
>
>
>
--

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] Cmake hangs on testing -- Check for working C compiler using: Visual Studio 10

2012-02-18 Thread Nicky Perian
This hang happened after installing Visual Studio 10 Service Pack 1.

Is there a known workaround for this?
--

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] Generating CMake scripts from Visual Studio solutions & projects?

2012-02-18 Thread John Drescher
> "2+ years"? That could easily end up like a Yugo vs. Porsche surprise ;)
>
>
> The original vcproj2cmake script was composed of 300 lines,
> and now the project is to the tune of around 4000 lines.
>

I have a lot of 5 to 15 year old MFC code(applications, dlls, static
libraries) that I would like to use this on. I could give it a test
sometime next week.

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] Generating CMake scripts from Visual Studio solutions & projects?

2012-02-18 Thread Andreas Mohr
Hi,

On Fri, Feb 17, 2012 at 12:00:10PM -0500, cmake-requ...@cmake.org wrote:
> Date: Fri, 17 Feb 2012 11:48:28 -0500
> From: John Drescher 
> Subject: Re: [CMake] Generating CMake scripts from Visual Studio
>   solutions & projects?
> To: Eric Noulard 
> Cc: CMake ML 
> Message-ID:
>   
> Content-Type: text/plain; charset=ISO-8859-1
> 
> > Did you try the tool listed in the Wiki
> > http://www.cmake.org/Wiki/CMake#Visual_Studio
> >
> 
> I would be interested in if you get any of these to work well with non
> trivial projects. When I last looked at some of these (probably 2+
> years ago so things may have changed) they did not work well with my
> complex visual studio projects.

"2+ years"? That could easily end up like a Yugo vs. Porsche surprise ;)


The original vcproj2cmake script was composed of 300 lines,
and now the project is to the tune of around 4000 lines.

I've been doing more intensive updates in recent times,
carrying out parser <-> generator stages separation
and trying to get VS10 .vcxproj support finished real soonish.

For the (rather elaborate) needs of my largish build tree,
current .vcproj live conversion support is very adequate,
however there are still several weak or potentially even completely missing
areas left
(not to mention that differing requirements due to cross-platform extension
can easily mean that the base dataset itself as found in VS project files
is somewhat insufficient from the get go -
which my extensible hooks and mappings are supposed to be taking care of).
There's also a fair share of dark corners on CMake side as well, though
(include_directories() etc.), thus it's obvious that certain areas
of build systems often are considered to be less important.


Due to still very high development activity (i.e., many new features and
corrections arriving), at least for new users I'd _currently_ recommend
starting by directly checking out the "experimental_unverified" branch;
some longer-time users might need more stability and could thus
keep subscribing to "experimental", whereas "master" currently is (too?) old.

If someone would like to create CMakeLists with it or use .vcproj
in their build, then simply ponder making use of the converter
(and possibly let me know of any issues or ideas that might turn up).

Thanks,

Andreas Mohr
--

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] Problems finding the SSL library

2012-02-18 Thread Matchek
2012/1/16 Michael Wild :
> Definitely a bug in MySQL. They should be setting
> CMAKE_REQUIRED_INCLUDES to ${OPENSSL_INCLUDE_DIR} before invoking the
> CHECK_SYMBOL_EXISTS() function/macro in line 72 of cmake/ssl.cmake.
> Otherwise CMake will not use the include directory found by
> FindOpenSSL.cmake.

It does the trick, thanks. This SSL problem was one of the most
frustrating experiences I ever had with any build system. It delayed
my Solaris build of MySQL 5.5 by at least three months. So thanks
again for helping me out!

Maciej
--

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