2010-07-21 11:52:28 +00:00
|
|
|
set(ESMTOOL
|
|
|
|
esmtool.cpp
|
2012-10-11 02:00:44 +00:00
|
|
|
labels.hpp
|
|
|
|
labels.cpp
|
2012-09-30 19:34:53 +00:00
|
|
|
record.hpp
|
|
|
|
record.cpp
|
2022-04-14 14:46:57 +00:00
|
|
|
arguments.hpp
|
|
|
|
tes4.hpp
|
|
|
|
tes4.cpp
|
2010-07-21 11:52:28 +00:00
|
|
|
)
|
|
|
|
source_group(apps\\esmtool FILES ${ESMTOOL})
|
|
|
|
|
|
|
|
# Main executable
|
2017-09-08 21:17:42 +00:00
|
|
|
openmw_add_executable(esmtool
|
2010-07-21 11:52:28 +00:00
|
|
|
${ESMTOOL}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(esmtool
|
2015-06-11 21:49:27 +00:00
|
|
|
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
2011-11-06 08:30:15 +00:00
|
|
|
components
|
2010-07-21 11:52:28 +00:00
|
|
|
)
|
|
|
|
|
2012-08-19 19:23:46 +00:00
|
|
|
if (BUILD_WITH_CODE_COVERAGE)
|
|
|
|
add_definitions (--coverage)
|
|
|
|
target_link_libraries(esmtool gcov)
|
2017-09-08 21:20:04 +00:00
|
|
|
endif()
|