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
-
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
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
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