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