Re: [CMake] acyclic subdirectory builds

2008-04-04 Thread ITUC; ADITG/DFG
Hi Egon, it seems "add_subdirectory(${liba_dir} ${liba_dir})" is called twice (for exea and exeb). Instead of usage "include(../liba/include.cmake)" you you should use: ADD_DEPENDENCIES( exea liba ) ADD_DEPENDENCIES( exeb liba ) Hence, "link_libraries(liba)" is probably redundant. st -

Re: [CMake] ADD_CUSTOM_COMMAND doesn't create CMake rules

2008-03-14 Thread Schick, Thorben (ITUC; ADITG/DFG)
TED] Sent: Freitag, 14. März 2008 09:16 To: Schick, Thorben (ITUC; ADITG/DFG) Subject: Re: [CMake] ADD_CUSTOM_COMMAND doesn't create CMake rules You must use the generated files of a ADD_CUSTOM_COMMAND as a dependency. > SET (_ui C:/...view_tool/tmp/intf/data_search.h) > SET (_fil

Re: [CMake] ADD_CUSTOM_COMMAND doesn't create CMake rules

2008-03-14 Thread Schick, Thorben (ITUC; ADITG/DFG)
or: Cannot find source file "\ui_*.h" for target... That's logical because these files doesn't exist yet. Regards Thorben -Original Message- From: Andy Lego [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 12. März 2008 18:30 To: Schick, Thorben (ITUC; ADITG/DFG) Cc: cmake

[CMake] ADD_CUSTOM_COMMAND doesn't create CMake rules

2008-03-12 Thread Schick, Thorben (ITUC; ADITG/DFG)
I am trying to use CMake to create the build information for MS Visual Studio .NET 2003 including some QT UIs. I added the following code to create the accordant building rules. Due to readability i give only some examples. I realized creation with a loop over all necessary uis and looping works fi