You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
373 B
CMake
14 lines
373 B
CMake
# Copyright (C) 2021,2022 fef <owo@fef.moe>. All rights reserved.
|
|
|
|
macro(gay_append_cmake_c_flags)
|
|
foreach(flag IN ITEMS ${ARGN})
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${flag}")
|
|
endforeach()
|
|
endmacro()
|
|
|
|
macro(gay_append_cmake_asm_flags)
|
|
foreach(flag IN ITEMS ${ARGN})
|
|
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} ${flag}")
|
|
endforeach()
|
|
endmacro()
|