mirror of https://github.com/AxioDL/metaforce.git
Fixed make_dnalist macro
This commit is contained in:
parent
e58d02d597
commit
e548a9c452
|
@ -5,8 +5,8 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||||
find_package(atdna REQUIRED)
|
find_package(atdna REQUIRED)
|
||||||
|
|
||||||
# Assembles a source/header pair list for use in a DNA library
|
# Assembles a source/header pair list for use in a DNA library
|
||||||
macro(make_dnalist outlist inlist)
|
macro(make_dnalist outlist)
|
||||||
foreach(type ${inlist})
|
foreach(type ${ARGN})
|
||||||
atdna(${type}.cpp ${type}.hpp)
|
atdna(${type}.cpp ${type}.hpp)
|
||||||
list(APPEND ${outlist} ${type}.cpp ${type}.hpp)
|
list(APPEND ${outlist} ${type}.cpp ${type}.hpp)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
Loading…
Reference in New Issue