1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 10:15:38 +00:00
openmw/apps/mwiniimporter/CMakeLists.txt

40 lines
798 B
Text
Raw Normal View History

2012-03-30 18:59:44 +00:00
set(MWINIIMPORT
main.cpp
importer.cpp
)
set(MWINIIMPORT_HEADER
importer.hpp
)
source_group(launcher FILES ${MWINIIMPORT} ${MWINIIMPORT_HEADER})
add_executable(openmw-iniimporter
2012-03-30 18:59:44 +00:00
${MWINIIMPORT}
)
target_link_libraries(openmw-iniimporter
${Boost_PROGRAM_OPTIONS_LIBRARY}
${Boost_FILESYSTEM_LIBRARY}
2012-03-30 18:59:44 +00:00
components
)
if (WIN32)
target_link_libraries(openmw-iniimporter
${Boost_LOCALE_LIBRARY})
INSTALL(TARGETS openmw-iniimporter RUNTIME DESTINATION ".")
endif(WIN32)
if(MSVC)
2016-11-13 22:59:36 +00:00
target_link_libraries(openmw-iniimporter imm32.lib winmm.lib version.lib)
endif(MSVC)
2014-05-23 21:35:28 +00:00
if (MINGW)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -municode")
endif()
if (BUILD_WITH_CODE_COVERAGE)
add_definitions (--coverage)
target_link_libraries(openmw-iniimporter gcov)
endif()