11 lines
418 B
CMake
11 lines
418 B
CMake
|
# Custom targets for compiler and linker flags.
|
||
|
add_custom_target(asm)
|
||
|
add_custom_target(compiler)
|
||
|
add_custom_target(compiler-cpp)
|
||
|
add_custom_target(linker)
|
||
|
|
||
|
# Configure the toolchain flags based on what toolchain technology is used
|
||
|
# (gcc, host-gcc etc.)
|
||
|
include(${TOOLCHAIN_ROOT}/cmake/compiler/${COMPILER}/compiler_flags.cmake OPTIONAL)
|
||
|
include(${TOOLCHAIN_ROOT}/cmake/linker/${LINKER}/linker_flags.cmake OPTIONAL)
|