dolphin/Source/Core/DolphinTool/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
640 B
CMake
Raw Normal View History

add_executable(dolphin-tool
ToolHeadlessPlatform.cpp
ExtractCommand.cpp
ExtractCommand.h
ConvertCommand.cpp
ConvertCommand.h
VerifyCommand.cpp
VerifyCommand.h
HeaderCommand.cpp
HeaderCommand.h
ToolMain.cpp
)
set_target_properties(dolphin-tool PROPERTIES OUTPUT_NAME dolphin-tool)
target_link_libraries(dolphin-tool
PRIVATE
discio
uicommon
cpp-optparse
2023-06-16 23:59:30 +00:00
fmt::fmt
)
2022-05-21 23:19:44 +00:00
if(MSVC)
# Add precompiled header
target_link_libraries(dolphin-tool PRIVATE use_pch)
endif()
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} dolphin-tool)
install(TARGETS dolphin-tool RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})