On 09/29/2011 05:26 PM, Thomas Wolf wrote: > ... > Yes, i am building all libraries myself, in the same makefile. > As i turned out, i cannot use external projects for the contrib > libraries (ctk, log4qt), because ccording to the cmake mailing list i > also would have to use MITK as an external project - which is not > possible in our project. > Hi Thomas,
I do not understand this. What do you mean by "use MITK as an external project"? Could you specify your setup? >> FindPackage() does not know anything about "use files". It either looks >> for a<package-name>_DIR variable pointing to a path containg a >> <package-name>Config.cmake file and includes that one, or looks for a >> Find<package-name>.cmake script in the CMake module directories and >> includes that. > But the problem remains the same.. if i add all projects consecutivly in > a makefile, they cannot find each other via the findpackage mechanism in > config mode (configFile specifiying useFile). The key problem is, there > aren't any libraries to be found by the config/usefile in the > configuration step. Creating the solution fails. > > Somehow the Makefiles are nto prepared to handle that, or i am missing > something. > > Reards, > Thomas > As Sascha said FIND_PACKAGE only includes the config. Do you mean you include use-files of projects that are configured but not yet built? This would lead to missing libraries. Maybe you could post some simplified setup that shows the problem. Best Marco > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users -- ---------------------------------------------------------------------- Dipl.-Inform. Med. Marco Nolden Deutsches Krebsforschungszentrum (German Cancer Research Center) Div. Medical& Biological Informatics Tel: (+49) 6221-42 2325 Im Neuenheimer Feld 280 Fax: (+49) 6221-42 2345 D-69120 Heidelberg eMail: [email protected] ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
