mirror of https://github.com/AxioDL/metaforce.git
followed @Antidote's advice and added atdna_* prefix
This commit is contained in:
parent
e548a9c452
commit
fc6b61a63e
|
@ -7,16 +7,18 @@ find_package(atdna REQUIRED)
|
|||
# Assembles a source/header pair list for use in a DNA library
|
||||
macro(make_dnalist outlist)
|
||||
foreach(type ${ARGN})
|
||||
atdna(${type}.cpp ${type}.hpp)
|
||||
list(APPEND ${outlist} ${type}.cpp ${type}.hpp)
|
||||
atdna(atdna_${type}.cpp ${type}.hpp)
|
||||
list(APPEND ${outlist} atdna_${type}.cpp ${type}.hpp)
|
||||
endforeach()
|
||||
endmacro()
|
||||
|
||||
# Each game's DNA library
|
||||
add_subdirectory(DNACommon)
|
||||
add_subdirectory(DNAMP1)
|
||||
add_subdirectory(DNAMP2)
|
||||
add_subdirectory(DNAMP3)
|
||||
|
||||
# Each game's DataSpec implementation
|
||||
add_library(RetroDataSpec
|
||||
SpecBase.cpp
|
||||
SpecMP1.cpp
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
list(APPEND types
|
||||
make_dnalist(liblist
|
||||
PAK
|
||||
MLVL)
|
||||
|
||||
make_dnalist(liblist ${types})
|
||||
add_library(DNAMP1 ${liblist})
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
list(APPEND types
|
||||
make_dnalist(liblist
|
||||
PAK)
|
||||
|
||||
make_dnalist(liblist ${types})
|
||||
add_library(DNAMP3 ${liblist})
|
||||
|
|
Loading…
Reference in New Issue