set_property(SOURCE cputorture.s PROPERTY LANGUAGE C)
This works because the C compiler, at least on UNIX, recognizes
.s
as assembler source extension and invokes the proper assembler command.
This is the repository of my wild thoughts, general comments and ideas that I don't have the time to actually work on.
set_property(SOURCE cputorture.s PROPERTY LANGUAGE C)
.s
as assembler source extension and invokes the proper assembler command.
2 comments:
Thanks a lot for this little blog post, it helped us a lot with cmake and asm-files =)
Thank you for sharing your discovery. It was just the antidote to my headache.
Post a Comment