[CMake] Common Properties in Visual Studio

2012-02-21 Thread Anders Backman
haven't found any relevant info on the web nor in the CMake documentation. Have anyone succeeded in doing this? Or is it outside the scope of CMake? Cheers and thanks for a great tool. /A -- __ Anders Backman, HPC2N 90187 UmeƄ University, Sweden

Re: [CMake] Warning! PATH too long installer unable to modify PATH!

2011-03-17 Thread Anders Backman
Noone else experienced this problem? /A On Mon, Mar 14, 2011 at 4:37 PM, Anders Backman ande...@cs.umu.se wrote: Im using CPack with CMake 2.8 and when I am installing my app, I get the message: Warning! PATH too long installer unable to modify PATH! Seems that Im not the first: http

[CMake] Warning! PATH too long installer unable to modify PATH!

2011-03-14 Thread Anders Backman
Im using CPack with CMake 2.8 and when I am installing my app, I get the message: Warning! PATH too long installer unable to modify PATH! Seems that Im not the first: http://public.kitware.com/Bug/view.php?id=11931 Is this an acceptable limitation? Or is there something Im doing wrong? I have

Re: [CMake] complete rebuild

2010-12-30 Thread Anders Backman
CMake (2.8.2 or later) http://www.cmake.org/files/v2.8/cmake-2.8.3-win32-x86.exe 3 go to the directory in a command prompt 4. execute: cmake . 5. msbuild DepBug.sln 6. msbuild DepBug.sln Builds everything again from scratch. /A On Wed, Dec 29, 2010 at 1:26 PM, Anders Backman ande...@cs.umu.se

Re: [CMake] complete rebuild

2010-12-30 Thread Anders Backman
, Dec 30, 2010 at 6:06 AM, Anders Backman ande...@cs.umu.se wrote: I think I managed to reproduce the problem, partially. The file below contains a project which for me reproduces the problem when I use msbuild. F7 (Build-BuildSolution) works (builds only once, then next time, it does

Re: [CMake] complete rebuild

2010-12-29 Thread Anders Backman
, 2010 at 4:07 AM, Anders Backman ande...@cs.umu.se wrote: Hi all. I have a problem where I have a project of C++ headers and source files which are built into a .lib .dll. Now this works just fine with CMake 2.8.x and VisualStudio 2008. I press F7 everything builds. I press F7 again

Re: [CMake] MSB4051

2010-12-28 Thread Anders Backman
Yep. It works with the nightly build. Great. /A On Tue, Dec 28, 2010 at 6:14 PM, Bill Hoffman bill.hoff...@kitware.comwrote: On 12/27/2010 10:25 AM, Bill Hoffman wrote: On 12/27/2010 10:03 AM, Anders Backman wrote: Seems to be bug in CMake! I reduce the solution down to 1 project. Still

[CMake] MSB4051

2010-12-27 Thread Anders Backman
Hi all. Im using CMake 2.8.3 under windows 7 with Visual Studio 2010 32 bit. I have a rather large CMake configuration which has worked for a few years (VS2008). Now today I wanted to use VS2010 and suddenly ran into a problem. We use Incredibuild for a distributed build, and when I configure

Re: [CMake] MSB4051

2010-12-27 Thread Anders Backman
, Dec 27, 2010 at 3:41 PM, Anders Backman ande...@cs.umu.se wrote: Hi all. Im using CMake 2.8.3 under windows 7 with Visual Studio 2010 32 bit. I have a rather large CMake configuration which has worked for a few years (VS2008). Now today I wanted to use VS2010 and suddenly ran into a problem

Re: [CMake] Associating files with command

2010-09-01 Thread Anders Backman
${TOLUA_WRAPPED_SRC}) (This is similar to how Qt and FLTK builds take place.) Hope this helps! Please share your find module with this code added and tweaked, if needed - thanks! Ryan On 08/31/2010 02:44 PM, Anders Backman wrote: Hi all. I have a directory of .pkg files to be processed by tolua

[CMake] Associating files with command

2010-08-31 Thread Anders Backman
Hi all. I have a directory of .pkg files to be processed by tolua. This in turn generates a bunch of cpp files, which I then link into a library. My problem right now is that, I would like to generate a project, where each .pkg is associated with a custom command, so that I in visual studio (for

[CMake] Specifying build directory

2010-02-17 Thread Anders Backman
Hi all. Im using latest (2.8 CMake) under Windows, VisualStudio 2008. When I mix x86 and x64 builds, I would like to separate the actual output directory for the builds so that I dont get problems about mixing build types. Right now, the obj files etc is created in: src\foo.dir\Debug no matter

[CMake] Changed lib name for jpeg?

2009-05-08 Thread Anders Backman
Hi. Im using CMake 2.6 patch 1. in Windows. It seems that it is has changed the way jpeg is found. FindJPEG.cmake: SET(JPEG_NAMES ${JPEG_NAMES} jpeg) For all other image formats the following convention is used: libjpeg jpeg Is there a reason why jpeg is not using the 'lib' convention? Most

Re: [CMake] cpack, both debug and release in win32

2009-04-29 Thread Anders Backman
one, with only debug. Is there something I can do with the INSTALL command to get both libraries/apps to be packaged into the same pack? On Tue, Apr 28, 2009 at 7:23 PM, Anders Backman ande...@cs.umu.se wrote: Is it possible (and if so how) to use Cpack and create a package with files both

[CMake] cpack, both debug and release in win32

2009-04-28 Thread Anders Backman
Is it possible (and if so how) to use Cpack and create a package with files both from Debug and Release under windows? /A ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

[CMake] Moving QT getting FIND_PACKAGE( Qt4 ) to work

2009-04-27 Thread Anders Backman
Hi all. I have a problem where I pack the necessary stuff from qt into a dependency zip file (.h, .lib, .dll and qmake.exe). I have the path to qmake setup, so that qmake can be found. Then I unpack that to some specified directory and run cmake on my own code. My projectgs CMakeLists.txt call

Re: [CMake] Moving QT getting FIND_PACKAGE( Qt4 ) to work

2009-04-27 Thread Anders Backman
, or is there a faster way to figure this out? On Mon, Apr 27, 2009 at 7:13 PM, Christian Ehrlicher ch.ehrlic...@gmx.dewrote: Am Montag 27 April 2009 18:47:07 schrieb Anders Backman: Hi all. I have a problem where I pack the necessary stuff from qt into a dependency zip file (.h, .lib, .dll

Re: [CMake] Build install from command line Visual Studio

2009-03-03 Thread Anders Backman
I would, if could. Thats the point. The question was: from the command line Not inside the IDE. On Tue, Mar 3, 2009 at 7:29 PM, Timenkov Yuri ytimen...@gmail.com wrote: Just use build project command on it (through right click, for example). On 3/3/09, Anders Backman ande...@cs.umu.se wrote

[CMake] Bug: set_target_property VERSION WIN32

2009-01-29 Thread Anders Backman
Hi all Old issue, but Im trying to set dll version from CMAKE on dynamic libraries. After reading docs/release info I saw that version 2.4.4 included this functionality. However, Im trying without any success. So IS this supported or not? SET_TARGET_PROPERTIES( target PROPERTIES VERSION 1.2.3 )

Re: [CMake] How to set Windows DLL version information

2009-01-29 Thread Anders Backman
solution. Comments? On Thu, Jan 29, 2009 at 10:09 AM, Hendrik Sattler p...@hendrik-sattler.de wrote: Anders Backman schrieb: so set_target_properties(target PROPERTIES VERSION 1.1 SOVERSION 1.1) doesnt work under windows then? No. A RC file is not created automatically. A bit complicated

Re: [CMake] Precompiled headers

2008-05-06 Thread Anders Backman
://www.cmake.org/HTML/CMake-2.4.html So, what version of cmake are you using? Or are the SOURCES property a platform dependent property? /Anders On Tue, May 6, 2008 at 4:06 PM, Rodolfo Lima [EMAIL PROTECTED] wrote: Anders Backman escreveu: So is there are portable way of handling this in cmake

Re: [CMake] Precompiled headers

2008-05-06 Thread Anders Backman
at 9:11 PM, Anders Backman [EMAIL PROTECTED] wrote: Hi and thanks for the tip... However, when I try this (Im using VS2008, CMake 2.4-patch 8) I get some problems. I have nailed this down to the following command: #usual add_executable etc... works just fine! add_executable(rendering

[CMake] Filter in VisualStudio projects

2008-01-13 Thread Anders Backman
.. -- Anders Backman Email:[EMAIL PROTECTED] HPC2N/VRlab Phone:+46 (0)90-786 9936 Umea university Cellular: +46 (0)70-392 64 67 S-901 87 UMEA SWEDEN Fax: +46 90-786 6126

[CMake] Library dependency

2007-12-06 Thread Anders Backman
to automatically realize whether a library should be included or not... But is there a way around this? -- Anders Backman Email:[EMAIL PROTECTED] HPC2N/VRlab Phone:+46 (0)90-786 9936 Umea university

[CMake] Dependency list

2007-12-05 Thread Anders Backman
to automatically realize whether a library should be included or not... But is there a way around this? /Anders -- Anders Backman Email:[EMAIL PROTECTED] HPC2N/VRlab Phone:+46 (0)90-786 9936 Umea