Re: [CMake] Internal error bug in v3.4.2.

2016-01-21 Thread Brad King
On 01/21/2016 07:53 AM, Gonzalo wrote: > I delved into the cmake 3.4.2 source code and found the offending line > in cmTarget.cxx: > > cmSystemTools::ExpandListArgument((*it)->ge->Evaluate(mf, >config, >

Re: [CMake] Internal error bug in v3.4.2.

2016-01-21 Thread Gonzalo
El 20/01/16 a las 15:51, Brad King escribió: It's not gone or even deprecated. It's just not well tested and seems to be broken in your particular case in a way not reproduced by the test. I delved into the cmake 3.4.2 source code and found the offending line in cmTarget.cxx:

Re: [CMake] Internal error bug in v3.4.2.

2016-01-21 Thread Gonzalo
Thanks. This is consistent with the call stack shown in your original post. That line is always executed so we need to figure out what goes wrong with it in your particular case. Since you can reproduce it in mrViewer's configuration that is a good starting point. Try removing sources and

Re: [CMake] Internal error bug in v3.4.2.

2016-01-21 Thread Gonzalo
El 21/01/16 a las 10:28, Brad King escribió: Thanks. This is consistent with the call stack shown in your original post. That line is always executed so we need to figure out what goes wrong with it in your particular case. Since you can reproduce it in I forgot to mention. FLTK2.0 is

Re: [CMake] Internal error bug in v3.4.2.

2016-01-21 Thread Brad King
On 01/21/2016 11:00 AM, Gonzalo wrote: > Find attached the mrViewer/src/CMakeList.txt file that still fails. Thanks. From that I was able to reproduce it in a small test case with CMake 3.4. It appears that the problem has been fixed since then in 'master'. I've added a test case to keep it

Re: [CMake] Internal error bug in v3.4.2.

2016-01-21 Thread Gonzalo Garramuño
On 21/01/2016 03:47 p.m., Brad King wrote: On 01/21/2016 11:00 AM, Gonzalo wrote: Find attached the mrViewer/src/CMakeList.txt file that still fails. Thanks. From that I was able to reproduce it in a small test case with CMake 3.4. It appears that the problem has been fixed since then in

Re: [CMake] Internal error bug in v3.4.2.

2016-01-21 Thread Gonzalo
El 21/01/16 a las 15:47, Brad King escribió: Thanks. From that I was able to reproduce it in a small test case with CMake 3.4. It appears that the problem has been fixed since then in 'master'. I've added a test case to keep it working: I confirm the bug is squashed in master!

Re: [CMake] Internal error bug in v3.4.2.

2016-01-20 Thread Gonzalo
El 20/01/16 a las 15:51, Brad King escribió: I don't know much about FLTK or recall specifically what the command does but I think it is about running "fluid" to generate some source files. This can now be done with add_custom_command calls, which could be packaged inside a macro or function

Re: [CMake] Internal error bug in v3.4.2.

2016-01-20 Thread Gonzalo
El 20/01/16 a las 15:51, Brad King escribió: On 01/20/2016 01:46 PM, Gonzalo wrote: So that I know. What's the way of using FLTK now with cmake if FLTK_WRAP_UI is gone. It's not gone or even deprecated. It's just not well tested and seems to be broken in your particular case in a way not

Re: [CMake] Internal error bug in v3.4.2.

2016-01-20 Thread Gonzalo
El 20/01/16 a las 11:24, Brad King escribió: On 01/19/2016 08:42 PM, Gonzalo wrote: I compiled v3.4.2 and after installing it in /usr/local, I tried running it in a project that was working fine with cmake 2.8. Thanks for reporting this. The 2.8 series was quite long. To help narrow the

Re: [CMake] Internal error bug in v3.4.2.

2016-01-20 Thread Brad King
On 01/19/2016 08:42 PM, Gonzalo wrote: > I compiled v3.4.2 and after installing it in /usr/local, I tried running > it in a project that was working fine with cmake 2.8. Thanks for reporting this. The 2.8 series was quite long. To help narrow the changes between these versions, what 2.8

[CMake] Internal error bug in v3.4.2.

2016-01-19 Thread Gonzalo
I compiled v3.4.2 and after installing it in /usr/local, I tried running it in a project that was working fine with cmake 2.8. I removed cmake2.8 from my computer. I get: -- Buildir /media/Linux/code/applications/mrViewer/BUILD/Linux-3.16.0-57-generic-64/Release cd