Hello,

 

I branch this question out of another post that I posted earlier.

My top-level cmakelists.txt :

.

ADD_SUBDIRECTORY(lib3)

.

 

In the source tree, the lib3 directory includes a CMakeListst.xt:

ADD_LIBRARY(lib3 ...)

FILE(TO_CMAKE_PATH "C:\\Program Files (x86)\\Qt\\4.6.0\\lib\\QtCored4.lib"
MY_QTCORELIB)

MESSAGE(STATUS "MY_QTCORELIB=${MY_QTCORELIB}")

TARGET_LINK_LIBRARIES(lib3 ${MY_QTCORELIB})

 

I expect the lib3.vcproj to include the QtCored4.lib, or in the IDE to
appear in Librarian/General/Additional Dependencies.

 

But it doesn't,

 

Happy new year!

_______________________________________________
Powered by 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

Reply via email to