[CMake] Source files missing in generated NMakefile ( Visual Studio 2008)
Richard Offer
richard at whitequeen.com
Sun Aug 1 22:31:12 EDT 2010
I¹m not using any External Projects (#10735), but I can see that its
somewhat similar.
Although bizzaringly this appears to be a single file (so far) in one
target, the single CMakeLists file is ~100k with ~20 targets, and its
successfully built the rest of Poco (and my own stuff).
I¹ll make the suggested change and get back to you...easier than trying to
rip apart 100k lines of code to remove all the private references....
Thanks,
Richard.
On 8/1/10 7:08 PM, "David Cole" <david.cole at kitware.com> wrote:
> Possibly related to these bugs...?
>
> http://public.kitware.com/Bug/view.php?id=9963
> http://public.kitware.com/Bug/view.php?id=10735
>
> This is just a guess because the symptom sounds similar...
>
> To confirm (or deny) can you send along a zip file of a project that
> demonstrates the problem?
>
> Does the problem still exist in CMake 2.8.2?
>
> Or, if you're able to, try a build of CMake from git with the change mentioned
> in bug #10735 and let me know if that fixes it.
>
>
> Thanks,
> David
>
>
> On Sun, Aug 1, 2010 at 6:53 PM, Richard Offer <richard at whitequeen.com> wrote:
>>
>> One of my libraries has started to fail to link due to unresolved symbols,
>> because the TCPServerDispatcher class is not being linked. It is in fact not
>> even being compiled.
>>
>> Its not mentioned even in the generated NMakefile.
>>
>> I¹ve deleted the entire build directory and rebuilt from scratch with no
>> effect.
>>
>> Other platforms (OS X and Linux don¹t seem to have the issue).
>>
>> This is with cmake 2.8.0
>>
>>
>> The only different thing about this build is that I¹m using source from a
>> different drive letter (z: - network share) while the output directory is on
>> c:
>>
>>
>> c:\Users\Richard\Desktop\BUILD>grep TCPServer Makefile
>> ...
>> @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServer.obj
>> @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServer.i
>> @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServer.s
>> @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerConnection.obj
>> @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerConnection.i
>> @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerConnection.s
>> @echo ...
>> lib/poco-1.3.6p2-all/Net/src/TCPServerConnectionFactory.obj
>> @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerConnectionFactory.i
>> @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerConnectionFactory.s
>> @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerParams.obj
>> @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerParams.i
>> @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerParams.s
>>
>> c:\Users\Richard\Desktop\BUILD>z:
>>
>> z:\Shared\Proj\src\VIP>grep TCPServer CMakeLists.txt
>> ${POCO_TOP}/Net/src/TCPServer.cpp
>> ${POCO_TOP}/Net/src/TCPServerConnection.cpp
>> ${POCO_TOP}/Net/src/TCPServerConnectionFactory.cpp
>> ${POCO_TOP}/Net/src/TCPServerDispatcher.cpp
>> ${POCO_TOP}/Net/src/TCPServerParams.cpp
>>
>>
>> Thanks,
>>
>>
>> Richard.
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com <http://www.kitware.com>
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100801/eba88b3a/attachment.htm>
More information about the CMake
mailing list