On 08/12/2011 03:48 PM, Stephen Torri wrote:
Using Mathias and Fraser's guidance I made the changes to the
CMakeLists.txt file for the test directory.

-DBOOST_ALL_NO_LIB is how I would have fixed it, but I guess that should work.


That removed the error
that but now I have 9 unresolved external symbols even though the
boost unit test framework library is listed in the Linker options for
the test executable. Is this more of a problem with how I built Boost
than a CMake issue?

You didn't link test with mycode.


The Boost lib directory only has .lib files in it.
I guess those are static libraries.

As I already told you, ".lib" is both for static and import libraries (what you have to link against to use a DLL).
This is not CMake-specific, this is a windows thing.
_______________________________________________
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