Jelajahi Sumber

Merge pull request #3607 from GordonSmith/HPCC-8111

HPCC-8172 CMake warning about missing file

Reviewed-By: Richard Chapman <rchapman@hpccssytems.com>
Richard Chapman 12 tahun lalu
induk
melakukan
76a18e3d47
1 mengubah file dengan 33 tambahan dan 0 penghapusan
  1. 33 0
      esp/files/templates/CMakeLists.txt

+ 33 - 0
esp/files/templates/CMakeLists.txt

@@ -0,0 +1,33 @@
+################################################################################
+#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
+#
+#    Licensed under the Apache License, Version 2.0 (the "License");
+#    you may not use this file except in compliance with the License.
+#    You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing, software
+#    distributed under the License is distributed on an "AS IS" BASIS,
+#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#    See the License for the specific language governing permissions and
+#    limitations under the License.
+################################################################################
+set ( TEMPLATES_FILES
+    ${CMAKE_CURRENT_SOURCE_DIR}/DFUSearchWidget.html
+    ${CMAKE_CURRENT_SOURCE_DIR}/ECLPlaygroundWidget.html
+    ${CMAKE_CURRENT_SOURCE_DIR}/ECLSourceWidget.html
+    ${CMAKE_CURRENT_SOURCE_DIR}/GraphPageWidget.html
+    ${CMAKE_CURRENT_SOURCE_DIR}/GraphWidget.html
+    ${CMAKE_CURRENT_SOURCE_DIR}/ResultsWidget.html
+    ${CMAKE_CURRENT_SOURCE_DIR}/SampleSelectWidget.html
+    ${CMAKE_CURRENT_SOURCE_DIR}/TargetSelectWidget.html
+    ${CMAKE_CURRENT_SOURCE_DIR}/TimingTreeMapWidget.html
+    ${CMAKE_CURRENT_SOURCE_DIR}/WorkUnitSummaryWidget.html
+)
+set ( TEMPLATES_FILES ${TEMPLATES_FILES} PARENT_SCOPE)
+
+FOREACH( iFile ${TEMPLATES_FILES} )
+    Install( FILES ${iFile} DESTINATION componentfiles/files/templates COMPONENT Runtime )
+ENDFOREACH ( iFile )
+