annotate src/vtk-3-compile-tools.patch @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents 99516e73b368
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2064
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2333
diff changeset
2 # See index.html for further information.
2064
2ca0ca8f7a9f package vtk: add patch headers
Mark Brand <mabrand@mabrand.nl>
parents: 2063
diff changeset
3
2ca0ca8f7a9f package vtk: add patch headers
Mark Brand <mabrand@mabrand.nl>
parents: 2063
diff changeset
4 This patch has been taken from:
2ca0ca8f7a9f package vtk: add patch headers
Mark Brand <mabrand@mabrand.nl>
parents: 2063
diff changeset
5 http://www.vtk.org/Bug/view.php?id=12686
2ca0ca8f7a9f package vtk: add patch headers
Mark Brand <mabrand@mabrand.nl>
parents: 2063
diff changeset
6
2062
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
7 --- VTK/Utilities/kwsys/CMakeLists.txt 2011-08-24 15:37:12.000000000 +0200
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
8 +++ VTK/Utilities/kwsys/CMakeLists.txt 2011-10-30 00:06:06.402085234 +0200
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
9 @@ -937,13 +937,20 @@
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
10 # file and build it into the library. Win9x platforms reproduce the
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
11 # executable into a temporary directory when it is needed.
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
12 IF(KWSYS_USE_Process)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
13 - IF(NOT UNIX)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
14 + IF(NOT CMAKE_CROSSCOMPILING)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
15 # Build the forwarding executable itself and a program that will
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
16 # encode it into a C file.
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
17 - ADD_EXECUTABLE(${KWSYS_NAMESPACE}ProcessFwd9x ProcessFwd9x.c)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
18 ADD_EXECUTABLE(${KWSYS_NAMESPACE}EncodeExecutable EncodeExecutable.c)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
19 - KWSYS_SET_PROPERTY(TARGET ${KWSYS_NAMESPACE}ProcessFwd9x PROPERTY LABELS ${KWSYS_LABELS_EXE})
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
20 KWSYS_SET_PROPERTY(TARGET ${KWSYS_NAMESPACE}EncodeExecutable PROPERTY LABELS ${KWSYS_LABELS_EXE})
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
21 + EXPORT(TARGETS ${KWSYS_NAMESPACE}EncodeExecutable FILE ${EXPORT_EXECUTABLES_FILE} NAMESPACE "${EXPORT_EXECUTABLES_NAMESPACE}" APPEND)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
22 + IF(COMPILE_TOOLS_TARGET)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
23 + ADD_DEPENDENCIES(${COMPILE_TOOLS_TARGET} ${KWSYS_NAMESPACE}EncodeExecutable)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
24 + ENDIF(COMPILE_TOOLS_TARGET)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
25 + ENDIF(NOT CMAKE_CROSSCOMPILING)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
26 +
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
27 + IF(NOT UNIX)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
28 + ADD_EXECUTABLE(${KWSYS_NAMESPACE}ProcessFwd9x ProcessFwd9x.c)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
29 + KWSYS_SET_PROPERTY(TARGET ${KWSYS_NAMESPACE}ProcessFwd9x PROPERTY LABELS ${KWSYS_LABELS_EXE})
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
30
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
31 # Construct the location of the executable to be encoded.
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
32 SET(BIN_DIR ${CMAKE_CURRENT_BINARY_DIR})
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
33 @@ -957,24 +964,23 @@
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
34 ENDIF(CMAKE_BUILD_TOOL MATCHES "make")
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
35
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
36 # Take advantage of a better custom command syntax if possible.
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
37 - SET(CMD ${BIN_DIR}${CFG_INTDIR}/${KWSYS_NAMESPACE}EncodeExecutable.exe)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
38 SET(FWD ${BIN_DIR}${CFG_INTDIR}/${KWSYS_NAMESPACE}ProcessFwd9x.exe)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
39 IF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 1.6)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
40 ADD_CUSTOM_COMMAND(
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
41 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${KWSYS_NAMESPACE}ProcessFwd9xEnc.c
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
42 - COMMAND ${CMD}
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
43 + COMMAND ${KWSYS_NAMESPACE}EncodeExecutable
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
44 ARGS ${FWD} ${CMAKE_CURRENT_BINARY_DIR}/${KWSYS_NAMESPACE}ProcessFwd9xEnc.c
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
45 ${KWSYS_NAMESPACE} ProcessFwd9x
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
46 - DEPENDS ${CMD} ${FWD})
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
47 + DEPENDS ${KWSYS_NAMESPACE}EncodeExecutable ${FWD})
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
48 ELSE("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 1.6)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
49 ADD_CUSTOM_COMMAND(
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
50 TARGET ${KWSYS_NAMESPACE}
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
51 SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/ProcessFwd9x.c
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
52 - COMMAND ${CMD}
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
53 + COMMAND ${KWSYS_NAMESPACE}EncodeExecutable
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
54 ARGS ${FWD} ${CMAKE_CURRENT_BINARY_DIR}/${KWSYS_NAMESPACE}ProcessFwd9xEnc.c
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
55 ${KWSYS_NAMESPACE} ProcessFwd9x
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
56 OUTPUTS ${CMAKE_CURRENT_BINARY_DIR}/${KWSYS_NAMESPACE}ProcessFwd9xEnc.c
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
57 - DEPENDS ${CMD} ${FWD})
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
58 + DEPENDS ${KWSYS_NAMESPACE}EncodeExecutable ${FWD})
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
59 ENDIF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 1.6)
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
60
e251e813dbb8 vtk patch for building without wine
Muellni <mmuellen@gmx.de>
parents:
diff changeset
61 # Make sure build occurs in proper order.
2063
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
62
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
63 --- VTK/Utilities/vtkhdf5/src/CMakeLists.txt 2011-08-24 15:37:13.000000000 +0200
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
64 +++ VTK/Utilities/vtkhdf5/src/CMakeLists.txt 2011-10-30 00:13:16.798098058 +0200
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
65 @@ -572,34 +572,40 @@
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
66 # Setup the H5Detect utility which generates H5Tinit with platform
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
67 # specific type checks inside
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
68 #-----------------------------------------------------------------------------
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
69 -SET (CMD ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}${CFG_INIT}/H5detect${EXE_EXT})
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
70 -IF (XCODE)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
71 - SET (CMD "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/\${CONFIGURATION}/H5detect")
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
72 -ENDIF (XCODE)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
73 -ADD_EXECUTABLE (H5detect ${HDF5_SRC_DIR}/H5detect.c)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
74 -IF (WIN32)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
75 - TARGET_LINK_LIBRARIES (H5detect "ws2_32.lib")
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
76 -ENDIF (WIN32)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
77 +IF(NOT CMAKE_CROSSCOMPILING)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
78 + ADD_EXECUTABLE (H5detect ${HDF5_SRC_DIR}/H5detect.c)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
79 + IF (WIN32)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
80 + TARGET_LINK_LIBRARIES (H5detect "ws2_32.lib")
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
81 + ENDIF (WIN32)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
82 +
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
83 + EXPORT(TARGETS H5detect FILE ${EXPORT_EXECUTABLES_FILE} NAMESPACE "${EXPORT_EXECUTABLES_NAMESPACE}" APPEND)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
84 + IF(COMPILE_TOOLS_TARGET)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
85 + ADD_DEPENDENCIES(${COMPILE_TOOLS_TARGET} H5detect)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
86 + ENDIF(COMPILE_TOOLS_TARGET)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
87 +ENDIF(NOT CMAKE_CROSSCOMPILING)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
88
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
89 ADD_CUSTOM_COMMAND (
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
90 OUTPUT ${HDF5_BINARY_DIR}/H5Tinit.c
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
91 - COMMAND ${CMD}
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
92 + COMMAND H5detect
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
93 ARGS > ${HDF5_BINARY_DIR}/H5Tinit.c
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
94 DEPENDS H5detect
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
95 )
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
96
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
97 -SET (CMDL ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}${CFG_INIT}/H5make_libsettings${EXE_EXT})
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
98 -IF (XCODE)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
99 - SET (CMDL "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/\${CONFIGURATION}/H5make_libsettings")
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
100 -ENDIF (XCODE)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
101 -ADD_EXECUTABLE (H5make_libsettings ${HDF5_SRC_DIR}/H5make_libsettings.c)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
102 -IF (WIN32)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
103 - TARGET_LINK_LIBRARIES (H5make_libsettings "ws2_32.lib")
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
104 -ENDIF (WIN32)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
105 +IF(NOT CMAKE_CROSSCOMPILING)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
106 + ADD_EXECUTABLE (H5make_libsettings ${HDF5_SRC_DIR}/H5make_libsettings.c)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
107 + IF (WIN32)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
108 + TARGET_LINK_LIBRARIES (H5make_libsettings "ws2_32.lib")
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
109 + ENDIF (WIN32)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
110
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
111 + EXPORT(TARGETS H5make_libsettings FILE ${EXPORT_EXECUTABLES_FILE} NAMESPACE "${EXPORT_EXECUTABLES_NAMESPACE}" APPEND)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
112 + IF(COMPILE_TOOLS_TARGET)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
113 + ADD_DEPENDENCIES(${COMPILE_TOOLS_TARGET} H5make_libsettings)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
114 + ENDIF(COMPILE_TOOLS_TARGET)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
115 +ENDIF(NOT CMAKE_CROSSCOMPILING)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
116 +
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
117 ADD_CUSTOM_COMMAND (
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
118 OUTPUT ${HDF5_BINARY_DIR}/H5lib_settings.c
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
119 - COMMAND ${CMDL}
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
120 + COMMAND H5make_libsettings
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
121 ARGS > ${HDF5_BINARY_DIR}/H5lib_settings.c
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
122 DEPENDS H5make_libsettings
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
123 )
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
124
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
125 --- VTK/CMakeLists.txt 2011-08-24 15:37:07.000000000 +0200
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
126 +++ VTK/CMakeLists.txt 2011-10-31 09:12:59.451958504 +0100
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
127 @@ -42,8 +42,13 @@
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
128 FILE(WRITE "${EXPORT_EXECUTABLES_FILE}" "#generated by VTK, do not edit\n")
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
129 ENDIF(NOT EXPORT_EXECUTABLES_FILE)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
130
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
131 +# Add a target for building only the compile tools
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
132 +ADD_CUSTOM_TARGET(CompileTools)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
133 +SET(COMPILE_TOOLS_TARGET "CompileTools")
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
134 +
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
135 GET_PROPERTY(VTK_TARGET_SUPPORTS_SHARED_LIBS
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
136 GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS)
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
137 +
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
138
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
139 # Warn when using "old style" CMake install commands... But only when
3623b7b968d0 package vtk: consolidate patch file and add tools target
Muellni <mmuellen@gmx.de>
parents: 2062
diff changeset
140 # building VTK itself.