Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: schuhflickr on June 02, 2013, 01:04:02 am

Title: Including Assembler
Post by: schuhflickr on June 02, 2013, 01:04:02 am
Hello to all.
I'm new to Codeblocks!
First thanks for this very good IDE.

I tried to Include Assembler files in a c++ project like written in manual "1.9 Including Assembler files".
i setuped a new asm-compiler (jwasm).
my file is located under "asm sources".
By rightclicking on the asm file and following the steps like in manual and trying to compile all new,
the asm-file will compile with the C++ compiler (MS VC2010).
By controlling the properties of the asm-file the compiler for this file will not be saved. the default c++ compiler
was still in there. ???
so there was no chance to compile.

Is there a bug or a mistake from me?  ???

Thanx in advance... 
Title: Re: Including Assembler
Post by: oBFusCATed on June 02, 2013, 01:33:03 am
Have you read this: http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system
Title: Re: Including Assembler
Post by: Jenna on June 02, 2013, 09:58:08 am
And please, please give a little more information, especially which version of C::B you use.
Title: Re: Including Assembler
Post by: schuhflickr on June 02, 2013, 12:22:47 pm
Thanx to both.
Ive read both.
but i thought i ll do it like in the manual!

Attaching some screenshots

Thanx...


[attachment deleted by admin]

[attachment deleted by admin]
Title: Re: Including Assembler
Post by: schuhflickr on June 03, 2013, 01:04:40 am
got it to work.
Made changes in default-compiler (msvc10) like here:
http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system

Thanx to all.