On 10/18/2012 9:47 PM, David Doria wrote:
I am trying to produce the .s file that "g++ -S file.cpp" would
produce, but on a CMake target (because I want the include path that
I've setup through CMake, etc.)

Consider a simple demo:

PROJECT(Assembly)
ADD_EXECUTABLE(Assembly Assembly.cpp ) # this produces an 'Assembly' executable

CMake has targets to do that. If you type make help you can see them. It should be something like this:

make Assembly.s

-Bill

--

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