[CMake] Visual Studio 2012 Beta: unable to compile individual files

2012-06-11 Thread Ben Medina
Has anyone tried the Visual Studio 2012 beta with CMake's "Visual Studio 11" generator? I've tried with several projects, and even a simple project that just contains main.cpp has the same problem: compiling a single file does not work. Instead, I get this in the output window: 1>Error: Cannot bui

[CMake] find zlib, tiff and jpeg libs recent versions

2012-06-11 Thread Sebastian Elsner
Hello, I have been using cmake with a project called OpenImageIO. This library uses other libraries like zlib, tif and jpg to read images. While configuring the build with newest cmake on windows, I noticed that cmake would not find any of the above libraries. The full paths to the libraries

Re: [CMake] VS2010 Enable Managed Incremental Build

2012-06-11 Thread Nicky Perian
I don't know. I'll see if I can find one. On Mon, Jun 11, 2012 at 3:09 PM, Bill Hoffman wrote: > On 6/10/2012 9:02 PM, Nicky Perian wrote: > >> Is there a CMAKE variable to cause this to be set in the VS2010 >> solution? If so, what is it? >> If not, is it a doable feature? >> >> Graphic of VS201

Re: [CMake] Links to online documentation of CMake broken

2012-06-11 Thread Andreas Schuh
Thanks! I can confirm that it works for me with Safari now. On Fri, Jun 8, 2012 at 10:17 AM, Brad King wrote: > On 06/07/2012 04:22 PM, Andreas Schuh wrote: >> I see. I am using Safari 5.1.7 on Mac OS X 10.6.8. > > We changed the redirection from server-side to JavaScript. > Now it appears to wor

[CMake] Failure of Bundle Utilities on OS X to update a library.

2012-06-11 Thread Michael Jackson
I have an App that gets built and installed (DREAM3D.ap) that depends on a shared library (libPipelineBuilder.dylib) that also gets built during the whole compile process. I run "make install" (from command line - Makefiles are generated) and after BundleUtilities is called and I check the libP

Re: [CMake] VS2010 Enable Managed Incremental Build

2012-06-11 Thread Bill Hoffman
On 6/10/2012 9:02 PM, Nicky Perian wrote: Is there a CMAKE variable to cause this to be set in the VS2010 solution? If so, what is it? If not, is it a doable feature? Graphic of VS2010 showing where set https://dl.dropbox.com/u/7833186/Enable_Managed_Incremental_Build.JPG What is the command

[CMake] Cpack and output file naming

2012-06-11 Thread Totte Karlsson
Hi, How can I suppress version numbers(major, mior, patch in CPACK output on windows? Also, how can one suppress the win32 prefix of the output name. Cheers, -totte -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html P

Re: [CMake] Recursively add directories to INCLUDE_DIRECTORIES

2012-06-11 Thread GOO Creations
Thanks. I was sitting for hours trying to write this huge macro and now the solution isso easy. For future readers, here is my macro: /MACRO(HEADER_DIRECTORIES return_list)/ /FILE(GLOB_RECURSE new_list *.h)/ /SET(dir_list "")/ /FOREACH(file_path ${new_list})/ /

Re: [CMake] Recursively add directories to INCLUDE_DIRECTORIES

2012-06-11 Thread Leif Walsh
Use the GLOB_RECURSE mode of file() (cmake --help-command file) and get_filename_component. Sent from my iPhone On Jun 11, 2012, at 11:09, GOO Creations wrote: > Hi all, > > I want to recursively scan all sub-directories (and their sub-directories, > etc ...) and determine if the directory

[CMake] Recursively add directories to INCLUDE_DIRECTORIES

2012-06-11 Thread GOO Creations
Hi all, I want to recursively scan all sub-directories (and their sub-directories, etc ...) and determine if the directory contains a header (.h) file. I then want to add this directory to INCLUDE_DIRECTORIES. The best thing (according to my CMake knowledge) is to write a macro for this and

Re: [CMake] AIX exports, CMAKE_C_CREATE_SHARED_LIBRARY, custom commands and OBJECT_DIR property

2012-06-11 Thread Brett Delle Grazie
On 31 May 2012 15:15, Brett Delle Grazie wrote: > Hi, > > Is there any way to supplant / override the C > CMAKE_C_CREATE_SHARED_LIBRARY rule for a specific target (and only > that target) on AIX? > Or alternatively, is there any way to retrieve or construct the > OBJECT_DIR property of a library t