mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 14:27:23 +00:00
223850576b
...by simply building a STATIC lib for the test, instead of a SHARED one. Fixes test timeout on the Watcom dashboards.
16 lines
446 B
CMake
16 lines
446 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
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)
|