2015-01-17 00:11:36 +01:00
|
|
|
set(ESSIMPORTER_FILES
|
|
|
|
main.cpp
|
|
|
|
importer.cpp
|
|
|
|
importplayer.cpp
|
|
|
|
importnpcc.cpp
|
|
|
|
importcrec.cpp
|
|
|
|
importcellref.cpp
|
2015-01-18 22:52:11 +01:00
|
|
|
importinventory.cpp
|
2015-01-19 01:06:45 +01:00
|
|
|
importklst.cpp
|
2015-01-19 13:16:12 +01:00
|
|
|
importcntc.cpp
|
2015-01-21 23:35:09 +01:00
|
|
|
importgame.cpp
|
|
|
|
importinfo.cpp
|
|
|
|
importdial.cpp
|
|
|
|
importques.cpp
|
|
|
|
importjour.cpp
|
2015-01-22 03:54:33 +01:00
|
|
|
importscri.cpp
|
|
|
|
importscpt.cpp
|
2017-09-12 21:11:30 +02:00
|
|
|
importproj.cpp
|
2017-09-20 18:56:32 +02:00
|
|
|
importsplm.cpp
|
2015-01-17 00:11:36 +01:00
|
|
|
importercontext.cpp
|
|
|
|
converter.cpp
|
2015-01-18 19:59:29 +01:00
|
|
|
convertacdt.cpp
|
|
|
|
convertnpcc.cpp
|
2015-01-19 12:22:51 +01:00
|
|
|
convertinventory.cpp
|
|
|
|
convertcrec.cpp
|
2015-01-19 13:16:12 +01:00
|
|
|
convertcntc.cpp
|
2015-01-24 16:15:52 +01:00
|
|
|
convertscri.cpp
|
2015-01-25 00:17:37 +01:00
|
|
|
convertscpt.cpp
|
2015-01-30 22:56:03 +01:00
|
|
|
convertplayer.cpp
|
2015-01-17 00:11:36 +01:00
|
|
|
)
|
|
|
|
|
2017-09-08 22:17:42 +01:00
|
|
|
openmw_add_executable(openmw-essimporter
|
2015-01-17 00:11:36 +01:00
|
|
|
${ESSIMPORTER_FILES}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(openmw-essimporter
|
2015-06-11 23:49:27 +02:00
|
|
|
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
2015-01-17 00:11:36 +01:00
|
|
|
components
|
|
|
|
)
|
|
|
|
|
|
|
|
if (BUILD_WITH_CODE_COVERAGE)
|
|
|
|
add_definitions (--coverage)
|
|
|
|
target_link_libraries(openmw-essimporter gcov)
|
|
|
|
endif()
|
2016-11-13 14:27:59 -06:00
|
|
|
|
2016-11-13 22:49:01 -06:00
|
|
|
if (WIN32)
|
|
|
|
INSTALL(TARGETS openmw-essimporter RUNTIME DESTINATION ".")
|
2017-09-08 22:20:04 +01:00
|
|
|
endif(WIN32)
|
2022-07-01 14:05:17 +00:00
|
|
|
|
|
|
|
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.16 AND MSVC)
|
|
|
|
target_precompile_headers(openmw-essimporter PRIVATE
|
|
|
|
<algorithm>
|
|
|
|
<filesystem>
|
|
|
|
<fstream>
|
|
|
|
<string>
|
|
|
|
<vector>
|
|
|
|
)
|
|
|
|
endif()
|