Hello guys,
after I configure the project from QT, in xcode I need to manualy go to project BUILD SETTINGS, locate LIBRARY SEARCH PATHS and set some stuff manualy…
can this be automated from cmake?
I need to set followings paths:
QuickTime Player? Even if you meant Qt, how does one configure a project from Qt? Did you mean Qt Creator, perhaps? But then how does Xcode come into play? You configure a project in one IDE and then open it in another IDE?
need to set followings paths
I’d expect that to be set automatically, which is probably what will happen if you use Xcode generator (Qt Creator configures with Ninja by default, as I recall, but actually then there would be no Xcode project to be opened in Xcode, so I don’t understand how are you doing this). If not, then I’d try this reply from a different thread.
yes, sorry I mean Qt Creator… by Qt Creator when I run Cmake to configure my project, it generates xcodeproj which I later open via Xcode.
the link from another thread i have already checked, unfotunatelly does not tell how to add custom directories to “Library Search Paths” as I do in xcode manualy
target_link_directories() does indeed put the value to the “LIBRARY SEARCH PATHS” variables, however this target_link_directories() converts given value to absolute path out of current source directory… - as state din docs…
is there any alternative which would just firmly put the given value there without converting to aboluth path?