1.9 Including Assembler files

CodeBlocks

[Contents] CodeBlocks Manual   [Search] Search

[Table of contents]

1.9 Including Assembler files


In the Management window of the Project View, Assembler files are shown in the ASM Sources category. The user can change the listing of files in categories (see section 1.1). Right-clicking one of the listed Assembler files will open a context menu. Select ’Properties’ to open a new window. Now select the ’Build’ tab and activate the two fields ’Compile file’ and ’Link file’. Then select the ’Advanced’ tab and execute the following steps:
  1. Set ’Compiler variable’ to CC
  2. Select the compiler under ’For this compiler’
  3. Select ’Use custom command to build this file’
  4. In the window, enter:
  $compiler $options $includes <asopts> -c $file -o $object
The CodeBlocks variables are marked by $ (see section 3.4). They are set automatically so that you only have to replace the Assembler option <asopt> by your own settings.


[Previous] 1.8  Workspace and Project Dependencies
[Next] 1.10  Editor and Tools

Created: 2010/25/05 11:52   Updated: 2010/25/05 11:52
Author: HighTec EDV-Systeme GmbH
Copyright © 2010 HighTec EDV-Systeme GmbH