Hello, On 6/26/17 8:12 PM, Watson, Andre wrote: > We're currently migrating a huge internal system over to CMake, and we're > nearing completion, but have run into an issue with the generated Xcode > projects. We build this system on Windows, Linux, and Mac (both makefile and > Xcode). On all systems, we have a third party directory that has a couple of > duplicate source names within a single CMakeLists.txt file. On Windows, > Linux, and makefile Mac, our projects all generate, build, and link > successfully. However, on Xcode Mac, our project builds, but fails to link. > On further inspection, the duplicate filenames are being generated into the > intermediate build directories as filenames such as > attributes-78663048C12E97C.o and attributes-FA2B54357D684A6E.o. The linker, > however, is looking for attributes.o. It appears that the compiling process > is recognizing the duplicate naming and adding on the hex string (the non > duplicate .o's do not have these strings), but that these new filenames are > not being passed to the linker. Is this is an Xcode option that I am missing, or this something occurring within the CMake project generation that is causing is mismatch?
could you please try to create a minimal example and file a bug report? I'll have a look then. Thanks, Gregor -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
