summaryrefslogtreecommitdiffstats
path: root/Tests/Wrapping/CMakeLists.txt
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-01-09 19:40:31 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-01-09 19:40:31 (GMT)
commita91947039a025df00403be2cadba469346f274a8 (patch)
tree67f7cfbde67246ac19514b692d966c71b75083a1 /Tests/Wrapping/CMakeLists.txt
parentaa9734ab6ceab283c83615ea52644ff730651dbc (diff)
downloadCMake-a91947039a025df00403be2cadba469346f274a8.zip
CMake-a91947039a025df00403be2cadba469346f274a8.tar.gz
CMake-a91947039a025df00403be2cadba469346f274a8.tar.bz2
ENH: for all custom commands that can not be given to a target, add them to all targets in the current makefile
Diffstat (limited to 'Tests/Wrapping/CMakeLists.txt')
-rw-r--r--Tests/Wrapping/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Tests/Wrapping/CMakeLists.txt b/Tests/Wrapping/CMakeLists.txt
index d8b332d..3b7684a 100644
--- a/Tests/Wrapping/CMakeLists.txt
+++ b/Tests/Wrapping/CMakeLists.txt
@@ -143,15 +143,18 @@ ENDIF (QT_FOUND AND QT_UIC_EXECUTABLE)
SET (FLTK_SRCS
fltk1.fl
)
+ADD_EXECUTABLE(fakefluid fakefluid.cxx)
+GET_TARGET_PROPERTY(FLUID_LOC fakefluid LOCATION)
SET (FLTK_WRAP_UI "On")
-SET (FLTK_FLUID_EXECUTABLE "echo")
+SET (FLTK_FLUID_EXECUTABLE "${FLUID_LOC}")
FLTK_WRAP_UI (wraplibFLTK ${FLTK_SRCS})
ADD_LIBRARY(wraplibFLTK ${wraplibFLTK_FLTK_UI_SRCS})
CONFIGURE_FILE(
${Wrapping_SOURCE_DIR}/fltk1.fl
${Wrapping_BINARY_DIR}/fltk1.cxx
COPYONLY)
-
+ADD_DEPENDENCIES(wraplibFLTK fakefluid)
+ADD_DEPENDENCIES(fakefluid Wrap)
#
# Mangled Mesa
#