metaforce/hecl/driver/CMakeLists.txt

37 lines
761 B
CMake
Raw Normal View History

2015-07-22 19:14:50 +00:00
if(WIN32)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /INCLUDE:HECLDataSpecs")
endif()
add_executable(hecl main.cpp
ToolBase.hpp
ToolPackage.hpp
ToolExtract.hpp
ToolInit.hpp
ToolHelp.hpp
ToolGroup.hpp
ToolCook.hpp
ToolClean.hpp
ToolAdd.hpp
ToolRemove.hpp
ToolSpec.hpp
2015-07-25 23:01:02 +00:00
../DataSpecRegistry.hpp
)
2015-07-10 05:28:33 +00:00
list(APPEND DATA_SPEC_LIBS
RetroDataSpec
2015-07-13 06:30:20 +00:00
DNACommon
2015-07-10 05:28:33 +00:00
DNAMP1
DNAMP2
DNAMP3)
2015-07-22 19:14:50 +00:00
if(NOT WIN32)
set(WHOLE_START "-Wl,-whole-archive")
set(WHOLE_END "-Wl,-no-whole-archive")
endif()
2015-07-10 05:28:33 +00:00
target_link_libraries(hecl
2015-07-22 19:14:50 +00:00
${WHOLE_START} HECLDatabaseInit ${DATA_SPEC_LIBS} ${WHOLE_END}
2015-07-28 02:25:33 +00:00
HECLDatabase HECLBlender HECLCommon AthenaCore AngelScript NOD
2015-08-01 00:38:59 +00:00
LogVisor yaml png squish blowfish z lzo2
)