CMakeLists.txt 1.14 KB
Newer Older
T.J. Corona's avatar
T.J. Corona committed
1
2
3
4
5
6
7
8
9
10
11
12
13
set(TESTS_WITH_BASELINES
  ${CMAKE_CURRENT_SOURCE_DIR}/MeshSelection.xml
)

include(SMTKPVTestingMacros)

#TODO: this should be set for the entire project's xml tests
set(MeshSelection_USES_DIRECT_DATA ON)

if (SMTK_DATA_DIR)
smtk_add_client_tests(
#  LABEL "pv_meshsession"
  TEST_SCRIPTS ${TESTS_WITH_BASELINES}
14
15
  ENVIRONMENT
    PV_PLUGIN_DEBUG=1
T.J. Corona's avatar
T.J. Corona committed
16
  LOAD_PLUGINS
17
    smtkResourcePlugin
18
    smtkAttributePlugin
19
20
21
    smtkOperationPlugin
    smtkGeometryPlugin
    smtkViewPlugin
T.J. Corona's avatar
T.J. Corona committed
22
23
24
25
26
27
    smtkMeshPlugin
    smtkQtPlugin
    smtkPVServerExtPlugin
    smtkPQComponentsPlugin
    smtkPVMeshExtPlugin
  PLUGIN_PATHS
28
    $<TARGET_FILE_DIR:smtkResourcePlugin>/..
29
    $<TARGET_FILE_DIR:smtkAttributePlugin>/..
30
31
32
    $<TARGET_FILE_DIR:smtkOperationPlugin>/..
    $<TARGET_FILE_DIR:smtkGeometryPlugin>/..
    $<TARGET_FILE_DIR:smtkViewPlugin>/..
T.J. Corona's avatar
T.J. Corona committed
33
34
35
36
37
38
39
40
41
    $<TARGET_FILE_DIR:smtkMeshPlugin>/..
    $<TARGET_FILE_DIR:smtkQtPlugin>/..
    $<TARGET_FILE_DIR:smtkPVMeshExtPlugin>/..
    $<TARGET_FILE_DIR:smtkPQComponentsPlugin>/..
    $<TARGET_FILE_DIR:smtkPVServerExtPlugin>/..
  DATA_DIRECTORY ${PROJECT_SOURCE_DIR}/data
  BASELINE_DIR ${PROJECT_SOURCE_DIR}/data/baseline/smtk/mesh
  )
endif()