cling
cling copied to clipboard
Compile cling using Xcode
Hello,
I could not compile cling after generating a Xcode project using CMAKE.
- Is it possible to compile cling using Xcode?
- In case of a affirmative answer, how?
Thanks. Kind regards,
It should be possible but we do not test it. You should be able to tell cmake to generate XCode project file. If you paste the error I may be more helpful.
I’ve just managed. The problem is related to the three libraries:
libclingMetaProcessor.a libclingInterpreter.a libclingUtils.a
For some reason the three libraries mentioned are not being deployed to $(the path root folder)/src/build/Debug/lib/ but to (for example)
$(the path root folder)/src/build/tools/cling/lib/Utils/LLVM.build/Debug/obj.clingUtils.build/Objects-normal/libobj.clingUtils.a
I have hardcoded the solution using ln -s, for example:
$(the path root folder)/src/build/tools/cling/lib/Utils/LLVM.build/Debug/obj.clingUtils.build/Objects-normal/libobj.clingUtils.a $(the path root folder)/src/build/Debug/lib/libclingUtils.a
But, how can I fix it?