mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +00:00
29 lines
No EOL
566 B
CMake
29 lines
No EOL
566 B
CMake
set(ESMTOOL
|
|
esmtool.cpp
|
|
labels.hpp
|
|
labels.cpp
|
|
record.hpp
|
|
record.cpp
|
|
)
|
|
source_group(apps\\esmtool FILES ${ESMTOOL})
|
|
|
|
# Main executable
|
|
add_executable(esmtool
|
|
${ESMTOOL}
|
|
)
|
|
|
|
target_link_libraries(esmtool
|
|
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
|
components
|
|
)
|
|
|
|
if (BUILD_WITH_CODE_COVERAGE)
|
|
add_definitions (--coverage)
|
|
target_link_libraries(esmtool gcov)
|
|
endif()
|
|
|
|
if (MSVC)
|
|
if (CMAKE_VERSION VERSION_GREATER 3.8)
|
|
set_target_properties(esmtool PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "$(TargetDir)")
|
|
endif (CMAKE_VERSION VERSION_GREATER 3.8)
|
|
endif (MSVC) |