Why do you want to build it via CMake? Are you going to make a cross-platform BHO (browser helper object)?<br><br>What does your BHO do?<br><br>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.<br>
<br>See help for:<br>  add_definitions: <a href="http://cmake.org/cmake/help/cmake-2-8-docs.html#command:add_definitions">http://cmake.org/cmake/help/cmake-2-8-docs.html#command:add_definitions</a><br>  target_link_libraries: <a href="http://cmake.org/cmake/help/cmake-2-8-docs.html#command:target_link_libraries">http://cmake.org/cmake/help/cmake-2-8-docs.html#command:target_link_libraries</a> <br>
<br><br>HTH,<br>David<br><br><br><div class="gmail_quote">On Wed, Jun 30, 2010 at 10:49 AM, Mr Shore <span dir="ltr">&lt;<a href="mailto:shore.cloud@gmail.com">shore.cloud@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all,<br><br><a href="http://msdn.microsoft.com/en-us/library/bb250489.aspx" target="_blank">Here </a>is a tutorial that demonstrates how to create a helloworld BHO with ATL in visual studio.<br><br>But I don&#39;t know how to build it with cmake , or say, how does cmake deal with ATL ?<br>


<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>