Re: [hatari-devel] Hatari customized build |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
> - no calling to binaries during build (CPU emu)If you look into src/*cpu/CMakeLists.txt files, it's clear that
same code generators are built for both cores:
- build68k, to generate cpudefs.c (CPU definitions table)
- gencpu, to generate several cpu*.c files
In the old UAE CPU core case there are only two files generated
by gencpu:
----
add_custom_command(OUTPUT cpuemu.c cpustbl.c
COMMAND ${GENCPU_EXE} DEPENDS gencpu)
----
In WinUAE case there are more:
----
add_custom_command(OUTPUT cpustbl.c cpuemu_0.c cpuemu_11.c
cpuemu_12.c
cpuemu_20.c cpuemu_21.c cpuemu_31.c
cpuemu_32.c
COMMAND ${GENCPU_EXE} DEPENDS gencpu)
----
To skip the code generators, you need to provide the files
otherwise, but note that they will be removed when build
is cleaned.
Why do you want this?
> Unfortunately, I'm not really familiar with CMake. Please help.
Hatari CMake build files support cross-building Hatari.
If you have problems with that, please give the exact
details of your problem.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |