Re: [CMake] Adding "*.obj" geometry files...

2012-06-13 Thread Daniel Dekkers
Somewhat related... We now have the resources excluded from the build but visible in the IDE. So far so good. But we also want to copy them (all) to the build directory. We have a post build command that does that. But if you only change the contents of one of the resource files, a rebuild is not

Re: [CMake] Adding "*.obj" geometry files...

2012-06-13 Thread Michael Wild
On 06/13/2012 12:13 PM, Daniel Dekkers wrote: > Somewhat related... > > We now have the resources excluded from the build but visible in the IDE. So > far so good. > But we also want to copy them (all) to the build directory. > We have a post build command that does that. > But if you only change

Re: [CMake] Adding "*.obj" geometry files...

2012-06-13 Thread Tim Hutton
You can group all the files to be copied into a single subproject. We do this here: http://reaction-diffusion.googlecode.com/svn/trunk/Ready/CMakeLists.txt (see the section "copy installation files to build folder") On 13 June 2012 11:13, Daniel Dekkers wrote: > Somewhat related... > > We now ha

Re: [CMake] Adding "*.obj" geometry files...

2012-06-13 Thread Daniel Dekkers
Hi Tim, That works. In our case we get: # Additional dedicated "copy-the-resource-files-for-this-app"-target strategy. # Copies resource files to the build directory, triggered by a file change in one of them. IF( RT_ALL_RSRC_FILES ) SET( RESOURCESCOPYTARGET "Copy${RT_APP_NAME}Resources"

Re: [CMake] Adding "*.obj" geometry files...

2012-06-13 Thread Petr Kmoch
You could use solution filters to put all the copy targets into one folder: set_property(GLOBAL PROPERTY USE_FOLDERS TRUE) set_property(TARGET ${RESOURCESCOPYTARGET} PROPERTY FOLDER "Copy Projects") #for each resource copy target Petr On Wed, Jun 13, 2012 at 2:26 PM, Daniel Dekkers wrote: > Hi

[CMake] Visual Studio rebuilding ZERO_CHECK

2012-06-13 Thread Robert Carnecky
Hello, My Visual Studio 2010 is constantly prompting me to build ZERO_CHECK every time I try to run my program, even though nothing has changed. Is there a workaround for this? How to reproduce: 1. Set up the simplest project possible (see below). 2. Configure and generate using the CMake GUI

Re: [CMake] Visual Studio rebuilding ZERO_CHECK

2012-06-13 Thread Micha Renner
Am Mittwoch, den 13.06.2012, 14:51 +0200 schrieb Robert Carnecky: > Hello, > > My Visual Studio 2010 is constantly prompting me to build ZERO_CHECK > every time I try to run my program, even though nothing has changed. Is > there a workaround for this? No, that is the current situation. This pr

Re: [CMake] Visual Studio rebuilding ZERO_CHECK

2012-06-13 Thread Jonathan Romero
On Wed, Jun 13, 2012 at 10:04 AM, Micha Renner wrote: > Am Mittwoch, den 13.06.2012, 14:51 +0200 schrieb Robert Carnecky: > > Hello, > > > > My Visual Studio 2010 is constantly prompting me to build ZERO_CHECK > > every time I try to run my program, even though nothing has changed. Is > > there a

Re: [CMake] Adding "*.obj" geometry files...

2012-06-13 Thread Daniel Dekkers
Sorry to keep bothering you guys... Our problem now is that resource files could have the same names in different folders. The ADD_CUSTOM_COMMAND seems to create a rule "identifier" based on the name of the resource file relative to the CMakeFiles directory. But we have a "saveloadicon.png" in /im

[CMake] What's the plan for 2.8.9?

2012-06-13 Thread Robert Dailey
Is there a roadmap for version 2.8.9? I'm asking so I can see if there are any issues/features I can pick up on my free time and help with, plus I'd be interested in learning what features are planned. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.c

Re: [CMake] Visual Studio rebuilding ZERO_CHECK

2012-06-13 Thread J Decker
On Wed, Jun 13, 2012 at 7:29 AM, Jonathan Romero wrote: > > > On Wed, Jun 13, 2012 at 10:04 AM, Micha Renner > wrote: >> >> Am Mittwoch, den 13.06.2012, 14:51 +0200 schrieb Robert Carnecky: >> > Hello, >> > >> > My Visual Studio 2010 is constantly prompting me to build ZERO_CHECK >> > every time

Re: [CMake] Visual Studio rebuilding ZERO_CHECK

2012-06-13 Thread Nicky Perian
This might help. Anyway worth a try. http://stackoverflow.com/questions/10972324/vs2010-c-solution-last-built-state -- 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

Re: [CMake] Visual Studio rebuilding ZERO_CHECK

2012-06-13 Thread Ben Medina
For Visual Studio, I always disable the zero check project by setting CMAKE_SUPPRESS_REGENERATION to true in my CMake cache. The downside is that you have to run CMake by hand to regenerate project files. But the experience of CMake running while Visual Studio has the project loaded is quite terrib

Re: [CMake] What's the plan for 2.8.9?

2012-06-13 Thread David Cole
We try to keep the list of bugs under consideration for the next version available on our bug tracker's roadmap page: http://public.kitware.com/Bug/roadmap_page.php That said, though, we are going to be cutting release candidate 1 for 2.8.9 very soon (like today or one of the next few days...)

Re: [CMake] Visual Studio rebuilding ZERO_CHECK

2012-06-13 Thread Robert Carnecky
On 6/13/2012 5:14 PM, J Decker wrote: On Wed, Jun 13, 2012 at 7:29 AM, Jonathan Romero wrote: On Wed, Jun 13, 2012 at 10:04 AM, Micha Renner wrote: Am Mittwoch, den 13.06.2012, 14:51 +0200 schrieb Robert Carnecky: Hello, My Visual Studio 2010 is constantly prompting me to build ZERO_CHECK

[CMake] FIND_LIBRARY using registry entries

2012-06-13 Thread Hugo Juarez CorrĂ¡
Hello Folks! I was having some troubles with FindPythonLibs, then I decided to debug it. I've found out that the CMake wasn't translating the registry string to a valid path: FIND_LIBRARY(PYTHON_LIBRARY NAMES python${_CURRENT_VERSION_NO_DOTS} python${_CURRENT_VERSION} PATHS [HKEY_LOCA