Re: [CMake] Dependency not executed, why?

2010-11-19 Thread Thomas Lehmann
...@gmail.com] Sent: Freitag, 19. November 2010 08:43 To: Thomas Lehmann Cc: cmake@cmake.org Subject: Re: [CMake] Dependency not executed, why? 2010/11/19 Thomas Lehmann t.lehm...@rtsgroup.net Hi, I've found an example to use bison and flex in cmake. I have a static library where

Re: [CMake] Dependency not executed, why?

2010-11-19 Thread Eric Noulard
2010/11/19 Thomas Lehmann t.lehm...@rtsgroup.net: - cmake 2.8.2 - the removing of the 'S' is not solving the problem. DEPENDS ${CMAKE_BINARY_DIR}/libs/test/parser.cxx OUTPUTS ${CMAKE_BINARY_DIR}/libs/test/parser.cxx those two lines are wrong too, I think you cannot not depend on your output.

Re: [CMake] Dependency not executed, why?

2010-11-19 Thread Michael Wild
Hi On 11/19/2010 08:22 AM, Thomas Lehmann wrote: Hi, I’ve found an example to use bison and flex in cmake. I have a static library where I want to add the generated sources but the dependencies are not triggered. Why? Let's see: project(test) include_directories(.

[CMake] Dependency not executed, why?

2010-11-18 Thread Thomas Lehmann
Hi, I've found an example to use bison and flex in cmake. I have a static library where I want to add the generated sources but the dependencies are not triggered. Why? project(test) include_directories(. ${CMAKE_BINARY_DIR}/libs/test) add_custom_target(ScannerAndParser

Re: [CMake] Dependency not executed, why?

2010-11-18 Thread Eric Noulard
2010/11/19 Thomas Lehmann t.lehm...@rtsgroup.net Hi, I’ve found an example to use bison and flex in cmake. I have a static library where I want to add the generated sources but the dependencies are not triggered. Why? project(test) include_directories(.