2019-04-14 14:43:27 +01:00
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
|
|
|
|
project(QPUassembler)
|
|
|
|
|
|
|
|
file(GLOB asmSrc
|
2019-05-06 16:58:34 +01:00
|
|
|
"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})
|
2020-05-17 17:29:04 +01:00
|
|
|
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)
|
2020-05-17 17:29:04 +01:00
|
|
|
target_compile_options(QPUassemblerExe PRIVATE -Wall -Werror=implicit-function-declaration -std=c11 -march=${RPI_ARCH} -fPIC)
|