[CMake] How to build an HelloWorld browser helper object using cmake?

David Cole david.cole at kitware.com
Wed Jun 30 10:55:27 EDT 2010


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 <shore.cloud at gmail.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100630/2284b97a/attachment.htm>


More information about the CMake mailing list