test fix dll problem for windows
This commit is contained in:
parent
9d005f2a18
commit
70f5033981
|
|
@ -13,6 +13,11 @@ qt_add_executable(Player
|
|||
Source/MainWindow.cpp
|
||||
)
|
||||
|
||||
add_custom_command(TARGET Player POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy -t $<TARGET_FILE_DIR:Player> $<TARGET_RUNTIME_DLLS:Player>
|
||||
COMMAND_EXPAND_LISTS
|
||||
)
|
||||
|
||||
target_include_directories(Player PRIVATE Header)
|
||||
target_link_libraries(Player PRIVATE Common Engine)
|
||||
|
||||
|
|
|
|||
|
|
@ -8,5 +8,10 @@ add_executable(Server
|
|||
Source/main.cpp
|
||||
)
|
||||
|
||||
add_custom_command(TARGET Server POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy -t $<TARGET_FILE_DIR:Server> $<TARGET_RUNTIME_DLLS:Server>
|
||||
COMMAND_EXPAND_LISTS
|
||||
)
|
||||
|
||||
target_include_directories(Server PRIVATE Header)
|
||||
target_link_libraries(Server PRIVATE Engine)
|
||||
|
|
@ -13,6 +13,11 @@ qt_add_executable(Studio
|
|||
Source/MainWindow.cpp
|
||||
)
|
||||
|
||||
add_custom_command(TARGET Studio POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy -t $<TARGET_FILE_DIR:Studio> $<TARGET_RUNTIME_DLLS:Studio>
|
||||
COMMAND_EXPAND_LISTS
|
||||
)
|
||||
|
||||
target_include_directories(Studio PRIVATE Header)
|
||||
target_link_libraries(Studio PRIVATE Common Engine)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue