2015-07-19 06:19:46 +00:00
|
|
|
include_directories(${HECL_INCLUDE_DIR} ${NOD_LIB_INCLUDE_DIR} ${LIBPNG_INCLUDE_DIR}
|
|
|
|
${SQUISH_INCLUDE_DIR})
|
2015-07-07 03:22:44 +00:00
|
|
|
|
2015-07-09 06:40:55 +00:00
|
|
|
# Magic ingredient
|
|
|
|
find_package(atdna REQUIRED)
|
|
|
|
|
|
|
|
# Assembles a source/header pair list for use in a DNA library
|
2015-07-09 07:01:58 +00:00
|
|
|
macro(make_dnalist outlist)
|
2015-07-09 07:15:43 +00:00
|
|
|
foreach(type ${ARGN})
|
|
|
|
atdna(atdna_${type}.cpp ${type}.hpp)
|
|
|
|
list(APPEND ${outlist} atdna_${type}.cpp ${type}.hpp)
|
|
|
|
endforeach()
|
2015-07-09 06:40:55 +00:00
|
|
|
endmacro()
|
|
|
|
|
2015-07-22 19:05:18 +00:00
|
|
|
include_directories(${ZLIB_INCLUDE_DIR} ${LZO_INCLUDE_DIR})
|
|
|
|
|
2015-07-09 07:15:43 +00:00
|
|
|
# Each game's DNA library
|
2015-07-07 03:22:44 +00:00
|
|
|
add_subdirectory(DNACommon)
|
|
|
|
add_subdirectory(DNAMP1)
|
|
|
|
add_subdirectory(DNAMP2)
|
|
|
|
add_subdirectory(DNAMP3)
|
|
|
|
|
2015-07-09 07:15:43 +00:00
|
|
|
# Each game's DataSpec implementation
|
2015-07-07 03:22:44 +00:00
|
|
|
add_library(RetroDataSpec
|
|
|
|
SpecBase.cpp
|
|
|
|
SpecMP1.cpp
|
|
|
|
SpecMP2.cpp
|
|
|
|
SpecMP3.cpp)
|