[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: Automoc4 problems on OSX
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2010-03-01 22:03:53
Message-ID: 201003012303.53577.neundorf () kde ! org
[Download RAW message or body]

On Monday 01 March 2010, Mike Arthur wrote:
> On 1 Mar 2010, at 21:31, Alexander Neundorf wrote:
> > Does automoc4 get the -F passed ?
> > If so, then somebody needs to add support for -F to automoc...
>
> I would bet money that it doesn't get it passed.

From kdesupport/automoc/Automoc4Config.cmake:

if(_moc_files)
      
set(_automoc_source "${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}_automoc.cpp")
      get_directory_property(_moc_incs INCLUDE_DIRECTORIES)
      get_directory_property(_moc_defs DEFINITIONS)
      get_directory_property(_moc_cdefs COMPILE_DEFINITIONS)

is -F included in INCLUDE_DIRECTORIES ?
If not, if on Mac, we need to check whether -F is in the link libraries. Hmm, 
but the target does not yet exist at this point. Hmm. Maybe automoc4 could 
check the location of the QtCore library and use this to determine whether 
and where Qt is installed as frameworks ?

> Also, re: automoc qt ->stdc port, where should this be done?

Where ?
Do you mean in trunk or in a branch or in git ?
Whereever you prefer :-)
CMake just switched to git.

Alex
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic