You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ravi/cmake/mir.cmake

27 lines
442 B

set(TARGET x86_64)
set(MIR_HEADERS
mir/mir.h
mir/mir-gen.h
mir/mir-varr.h
mir/mir-dlist.h
mir/mir-htab.h
mir/mir-hash.h
mir/mir-bitmap.h
)
set(MIR_SRCS
mir/mir.c
mir/mir-gen.c
)
set(C2MIR_SRCS
mir/c2mir/c2mir.c
)
set_source_files_properties(${MIR_SRCS} PROPERTIES
COMPILE_DEFINITIONS "${TARGET};MIR_IO;MIR_SCAN")
include_directories("mir")
include_directories("mir/c2mir")