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
|
@ -6,17 +6,19 @@ 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)
|
||||
endforeach()
|
||||
foreach(type ${ARGN})
|
||||
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
|
||||
PAK
|
||||
MLVL)
|
||||
|
||||
make_dnalist(liblist ${types})
|
||||
make_dnalist(liblist
|
||||
PAK
|
||||
MLVL)
|
||||
add_library(DNAMP1 ${liblist})
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
list(APPEND types
|
||||
PAK)
|
||||
|
||||
make_dnalist(liblist ${types})
|
||||
make_dnalist(liblist
|
||||
PAK)
|
||||
add_library(DNAMP3 ${liblist})
|
||||
|
|
Loading…
Reference in New Issue