[CMake] add(library foo SHARED...) is not creating a PDB file
Tom Kacvinsky
tom.kacvinsky at vectorcast.com
Mon Sep 21 17:37:44 EDT 2015
I am using cmake 2.8.11.2 on Windows 7 with Visual Studio 2008
This is the snipped of my CMakeLists.txt file
add_library(commoncpp_objects
OBJECT
<srcs>
)
add_library(commoncpp_static STATIC $<TARGET_OBJECTS:commoncpp_objects>)
add_dependencies(commoncpp_static commoncpp_objects)
add_library(commoncpp SHARED
$<TARGET_OBJECTS:commoncpp_objects>
commoncpp_exports.def
)
The objects, static library, and dll/import lib/exp files are created, but
there is no commoncpp.pdb file.
Any ideas what I am doing wrong?
Thanks,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150921/d46f936c/attachment.html>
More information about the CMake
mailing list