You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
446 B
16 lines
446 B
cmake_minimum_required(VERSION 3.5)
|
|
project(EmptyDepends)
|
|
|
|
include(CTest)
|
|
|
|
set(extra_dep)
|
|
|
|
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/qrc_my.cxx
|
|
COMMAND ${CMAKE_COMMAND} -E touch "${CMAKE_BINARY_DIR}/qrc_my.cxx"
|
|
DEPENDS "${extra_dep}" "${CMAKE_BINARY_DIR}/my.qrc")
|
|
|
|
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/my.qrc
|
|
COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_BINARY_DIR}/my.qrc)
|
|
|
|
add_library(qrc STATIC ${CMAKE_BINARY_DIR}/qrc_my.cxx)
|