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