2010-07-21 11:52:28 +00:00
|
|
|
set(ESMTOOL
|
|
|
|
esmtool.cpp
|
2012-09-30 19:34:53 +00:00
|
|
|
record.hpp
|
|
|
|
record.cpp
|
2010-07-21 11:52:28 +00:00
|
|
|
)
|
|
|
|
source_group(apps\\esmtool FILES ${ESMTOOL})
|
|
|
|
|
|
|
|
# Main executable
|
|
|
|
add_executable(esmtool
|
|
|
|
${ESMTOOL}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(esmtool
|
|
|
|
${Boost_LIBRARIES}
|
2011-11-06 08:30:15 +00:00
|
|
|
components
|
2010-07-21 11:52:28 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
#if (APPLE)
|
|
|
|
# find_library(CARBON_FRAMEWORK Carbon)
|
|
|
|
# target_link_libraries(openmw ${CARBON_FRAMEWORK})
|
|
|
|
#endif (APPLE)
|
2012-08-19 19:23:46 +00:00
|
|
|
|
|
|
|
if (BUILD_WITH_CODE_COVERAGE)
|
|
|
|
add_definitions (--coverage)
|
|
|
|
target_link_libraries(esmtool gcov)
|
|
|
|
endif()
|