You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
867 B
CMake
45 lines
867 B
CMake
set(ESSIMPORTER_FILES
|
|
main.cpp
|
|
importer.cpp
|
|
importplayer.cpp
|
|
importnpcc.cpp
|
|
importcrec.cpp
|
|
importcellref.cpp
|
|
importacdt.cpp
|
|
importinventory.cpp
|
|
importklst.cpp
|
|
importcntc.cpp
|
|
importgame.cpp
|
|
importinfo.cpp
|
|
importdial.cpp
|
|
importques.cpp
|
|
importjour.cpp
|
|
importscri.cpp
|
|
importscpt.cpp
|
|
importercontext.cpp
|
|
converter.cpp
|
|
convertacdt.cpp
|
|
convertnpcc.cpp
|
|
convertinventory.cpp
|
|
convertcrec.cpp
|
|
convertcntc.cpp
|
|
convertscri.cpp
|
|
convertscpt.cpp
|
|
convertplayer.cpp
|
|
)
|
|
|
|
add_executable(openmw-essimporter
|
|
${ESSIMPORTER_FILES}
|
|
)
|
|
|
|
target_link_libraries(openmw-essimporter
|
|
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
|
${Boost_FILESYSTEM_LIBRARY}
|
|
components
|
|
)
|
|
|
|
if (BUILD_WITH_CODE_COVERAGE)
|
|
add_definitions (--coverage)
|
|
target_link_libraries(openmw-essimporter gcov)
|
|
endif()
|