cmake_minimum_required(VERSION 2.8.5)

enable_language(ASM-ATT)

include_directories(/opt/include)

add_definitions(-DFOO)

set_source_files_properties(main.c PROPERTIES COMPILE_DEFINITIONS BAR=bar)

add_executable(hello main.c foo.s)
set_target_properties(hello PROPERTIES COMPILE_DEFINITIONS BLUB=blub)

