Why do you want to build it via CMake? Are you going to make a
cross-platform BHO (browser helper object)?

What does your BHO do?

CMake has no special support for ATL, but it is quite possible to build a
project with sources that depend on ATL. Basically, you just have to add the
right -D definitions and make sure you link the right stuff.

See help for:
  add_definitions:
http://cmake.org/cmake/help/cmake-2-8-docs.html#command:add_definitions
  target_link_libraries:
http://cmake.org/cmake/help/cmake-2-8-docs.html#command:target_link_libraries


HTH,
David


On Wed, Jun 30, 2010 at 10:49 AM, Mr Shore <[email protected]> wrote:

> Hi all,
>
> Here <http://msdn.microsoft.com/en-us/library/bb250489.aspx>is a tutorial
> that demonstrates how to create a helloworld BHO with ATL in visual studio.
>
> But I don't know how to build it with cmake , or say, how does cmake deal
> with ATL ?
>
> _______________________________________________
> 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
>
_______________________________________________
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