2019-04-14 15:43:27 +02:00
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
|
|
|
|
project(QPUassembler)
|
|
|
|
|
|
|
|
file(GLOB asmSrc
|
2019-05-06 17:58:34 +02:00
|
|
|
"qpu_assembler.h"
|
|
|
|
"qpu_assembler.c"
|
2019-04-14 15:43:27 +02:00
|
|
|
)
|
|
|
|
|
2019-09-30 02:13:55 +02:00
|
|
|
add_library(QPUassembler OBJECT ${asmSrc})
|
2019-05-06 17:58:34 +02:00
|
|
|
target_compile_options(QPUassembler PRIVATE -Wall -Werror=implicit-function-declaration -std=c11)
|
2020-05-12 23:45:30 +02:00
|
|
|
|
|
|
|
add_executable(QPUassemblerExe ${asmSrc} main.c shaders.h)
|
|
|
|
target_compile_options(QPUassemblerExe PRIVATE -Wall -Werror=implicit-function-declaration -std=c11)
|