Hi,<br><br>I'm trying to build some library with vs2005 64bit using CMake. This library uses some assembly and as the 64 bit mode of vs2005 doesn't support inline assembly, and external call to MASM is necessary. However, I'm having troubles getting this working.<br>
<br>I've googled on cmake + masm, but that wasn't of much help.<br><br>This is the custom build step I need to perform (copy pasted from a handcrafted solution file):<br><br>ml64 -c -Zi "-Flfoobar.lst" "-FRfoobar.sbr" "-Fofoobar.obj" "foobar.asm"<br>
<br>In my CMakeLists.txt i have something like:<br><br>enable_language(ASM)<br> set_source_files_property(foobar.asm LANGUAGE ASM)<br> list(APPEND lass_SRCS ${sourcepath})<br>add_library(mylib foobar.asm ...)<br><br>The problems I'm facing are:<br>
1. ml64 can't be found as assembler. Though I can explicitly set its path using the advanced view<br>2. foobar.asm does not get any custom build step, nor any cmake rule<br><br>Does you have some advance how to solve this issue, as it is a real showstopper ...<br>
<br>Thanks in advance,<br>Bram<br clear="all"><br>-- <br>hi, i'm a signature viruz, plz set me as your signature and help me spread :)<br>