[CMake] Creating visual studio 8 project with dll output

Brad King brad.king at kitware.com
Thu Oct 19 15:58:21 EDT 2006


Prename Surname wrote:
> Hello all.
> How do i create a visual studio 8 project with dll output?
> What command must i use ?

Write a CMakeLists.txt file containing

ADD_LIBRARY(mylib SHARED mylib.c)

Run CMakeSetup, and choose the "Visual Studio 8 2005" generator.

See http://www.cmake.org/HTML/Documentation.html for more information.

-Brad


More information about the CMake mailing list