mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 06:29:00 +01:00
![Pokechu22](/assets/img/avatar_default.png)
Videocommon also depends on core, which resulted in linking errors (though I'm not sure why). Ideally, dolphintool woudln't depend on videocommon... but some stuff in core does.
22 lines
453 B
CMake
22 lines
453 B
CMake
add_executable(dolphin-tool
|
|
ToolHeadlessPlatform.cpp
|
|
Command.h
|
|
ConvertCommand.cpp
|
|
ConvertCommand.h
|
|
VerifyCommand.cpp
|
|
VerifyCommand.h
|
|
ToolMain.cpp
|
|
)
|
|
|
|
set_target_properties(dolphin-tool PROPERTIES OUTPUT_NAME dolphin-tool)
|
|
|
|
target_link_libraries(dolphin-tool
|
|
PRIVATE
|
|
discio
|
|
videocommon
|
|
cpp-optparse
|
|
)
|
|
|
|
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} dolphin-tool)
|
|
install(TARGETS dolphin-tool RUNTIME DESTINATION ${bindir})
|