mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2024-11-21 11:30:09 +00:00
Add custom command to cmake
Copy glade files to build dir
This commit is contained in:
parent
26e423a841
commit
2d8627aeb8
@ -13,4 +13,7 @@ target_link_libraries(${PROJECT_NAME} ${GTK_LIBRARIES})
|
||||
|
||||
include_directories(/usr/include)
|
||||
|
||||
file(COPY ui/glade DESTINATION ${CMAKE_BINARY_DIR})
|
||||
add_custom_command(TARGET ${PROJECT_NAME}
|
||||
POST_BUILD
|
||||
COMMAND cp -pr ${CMAKE_CURRENT_SOURCE_DIR}/ui/glade ${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user