1
0
mirror of https://github.com/Yours3lf/rpi-vk-driver.git synced 2025-01-19 11:52:16 +01:00
rpi-vk-driver/QPUassembler/CMakeLists.txt

15 lines
470 B
CMake
Raw Normal View History

2019-04-14 14:43:27 +01:00
cmake_minimum_required(VERSION 2.8)
project(QPUassembler)
file(GLOB asmSrc
"qpu_assembler.h"
"qpu_assembler.c"
2019-04-14 14:43:27 +01:00
)
2019-09-30 01:13:55 +01:00
add_library(QPUassembler OBJECT ${asmSrc})
target_compile_options(QPUassembler PRIVATE -Wall -Werror=implicit-function-declaration -std=c11 -march=${RPI_ARCH} -fPIC)
2020-05-12 22:45:30 +01:00
add_executable(QPUassemblerExe ${asmSrc} main.c shaders.h)
target_compile_options(QPUassemblerExe PRIVATE -Wall -Werror=implicit-function-declaration -std=c11 -march=${RPI_ARCH} -fPIC)