Hi all,
Is there a way from a Qmake input file, of defining a symbol that can be tested for (e.g. with genif) inside an asm file?
Cheers.
Phill.
QMake and defines.
- mk79
- QL Wafer Drive
- Posts: 1349
- Joined: Sun Feb 02, 2014 10:54 am
- Location: Esslingen/Germany
- Contact:
Re: QMake and defines.
No, but I found a workaround once: see sbsext_tk2_procs_asm and linker file. Though I'm not sure I'd like GENIFd files in the main distribution, depends on how much is different. Otherwise use separate files.
Re: QMake and defines.
I've basically modified 3 files, the card init, and write sector routines, those could easily go in separate files. However one of the files I needed to modify was they keys file, which is included by several of the other files. I need to do this as my hardware is based on the original but has the registers in a different order.mk79 wrote:No, but I found a workaround once: see sbsext_tk2_procs_asm and linker file. Though I'm not sure I'd like GENIFd files in the main distribution, depends on how much is different. Otherwise use separate files.
Cheers.
Phill.