something as crusty as ...
#ifdef GPLUSPLUS
#define BEGIN_INLINE_ASM asm{
#define END_INLINE_ASM };
#define MNEM2(a,b) "a,b"
#endif
#ifdef VSTUDIO
#define BEGIN_INLINE_ASM __asm{
#define END_INLINE_ASM }
#define MNEM2(a,b) a,b
#endif
then in your 'code'
BEGIN_INLINE_ASM
MNEM(mov eax,something)
END_INLINE_ASM
.. maybe?
Failing that, have the asm in files of another extension, and a parser that sorts them out into 'c', and build rule that runs that parser before the compiler?
Really depends how much code you're in-lining