1 ## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
5 SET(KERNEL_ROOT_DIR $ENV{KERNEL_ROOT_DIR} CACHE PATH "Path to the Salome KERNEL directory")
6 SET(GUI_ROOT_DIR $ENV{GUI_ROOT_DIR} CACHE PATH "Path to the Salome GUI directory")
8 IF(EXISTS ${GUI_ROOT_DIR})
9 MESSAGE("-- SALOME found at " ${GUI_ROOT_DIR})
12 FIND_LIBRARY(caf caf ${GUI_ROOT_DIR}/lib/salome)
13 FIND_LIBRARY(CAM CAM ${GUI_ROOT_DIR}/lib/salome)
14 FIND_LIBRARY(CASCatch CASCatch ${GUI_ROOT_DIR}/lib/salome)
15 FIND_LIBRARY(DDS DDS ${GUI_ROOT_DIR}/lib/salome)
16 FIND_LIBRARY(Event Event ${GUI_ROOT_DIR}/lib/salome)
17 FIND_LIBRARY(GLViewer GLViewer ${GUI_ROOT_DIR}/lib/salome)
18 FIND_LIBRARY(LightApp LightApp ${GUI_ROOT_DIR}/lib/salome)
19 FIND_LIBRARY(LogWindow LogWindow ${GUI_ROOT_DIR}/lib/salome)
20 FIND_LIBRARY(ObjBrowser ObjBrowser ${GUI_ROOT_DIR}/lib/salome)
21 FIND_LIBRARY(OCCViewer OCCViewer ${GUI_ROOT_DIR}/lib/salome)
22 FIND_LIBRARY(OpenGLUtils OpenGLUtils ${GUI_ROOT_DIR}/lib/salome)
23 FIND_LIBRARY(Plot2d Plot2d ${GUI_ROOT_DIR}/lib/salome)
24 FIND_LIBRARY(PyConsole PyConsole ${GUI_ROOT_DIR}/lib/salome)
25 FIND_LIBRARY(PyInterp PyInterp ${GUI_ROOT_DIR}/lib/salome)
26 FIND_LIBRARY(QDS QDS ${GUI_ROOT_DIR}/lib/salome)
27 FIND_LIBRARY(qtx qtx ${GUI_ROOT_DIR}/lib/salome)
28 FIND_LIBRARY(QxScene QxScene ${GUI_ROOT_DIR}/lib/salome)
29 FIND_LIBRARY(SalomeApp SalomeApp ${GUI_ROOT_DIR}/lib/salome)
30 FIND_LIBRARY(SalomeIDLGUI SalomeIDLGUI ${GUI_ROOT_DIR}/lib/salome)
31 FIND_LIBRARY(SalomeObject SalomeObject ${GUI_ROOT_DIR}/lib/salome)
32 FIND_LIBRARY(SalomePrs SalomePrs ${GUI_ROOT_DIR}/lib/salome)
33 FIND_LIBRARY(SalomePyQtGUILight SalomePyQtGUILight ${GUI_ROOT_DIR}/lib/salome)
34 FIND_LIBRARY(SalomePyQtGUI SalomePyQtGUI ${GUI_ROOT_DIR}/lib/salome)
35 FIND_LIBRARY(SalomePyQt SalomePyQt ${GUI_ROOT_DIR}/lib/salome)
36 FIND_LIBRARY(SalomePy SalomePy ${GUI_ROOT_DIR}/lib/salome)
37 FIND_LIBRARY(SalomeSession SalomeSession ${GUI_ROOT_DIR}/lib/salome)
38 FIND_LIBRARY(SalomeStyle SalomeStyle ${GUI_ROOT_DIR}/lib/salome)
39 FIND_LIBRARY(SOCC SOCC ${GUI_ROOT_DIR}/lib/salome)
40 FIND_LIBRARY(SPlot2d SPlot2d ${GUI_ROOT_DIR}/lib/salome)
41 FIND_LIBRARY(std std ${GUI_ROOT_DIR}/lib/salome)
42 FIND_LIBRARY(SUITApp SUITApp ${GUI_ROOT_DIR}/lib/salome)
43 FIND_LIBRARY(suit suit ${GUI_ROOT_DIR}/lib/salome)
44 FIND_LIBRARY(SVTK SVTK ${GUI_ROOT_DIR}/lib/salome)
45 FIND_LIBRARY(ToolsGUI ToolsGUI ${GUI_ROOT_DIR}/lib/salome)
46 FIND_LIBRARY(ViewerTools ViewerTools ${GUI_ROOT_DIR}/lib/salome)
47 FIND_LIBRARY(ViewerData ViewerData ${GUI_ROOT_DIR}/lib/salome)
48 FIND_LIBRARY(VTKViewer VTKViewer ${GUI_ROOT_DIR}/lib/salome)
49 FIND_LIBRARY(vtkEDFOverloads vtkEDFOverloads ${GUI_ROOT_DIR}/lib/paraview)
50 FIND_LIBRARY(vtkTools vtkTools ${GUI_ROOT_DIR}/lib/salome)
51 FIND_LIBRARY(SalomeGuiHelpers SalomeGuiHelpers ${GUI_ROOT_DIR}/lib/salome)
52 FIND_LIBRARY(SalomeTreeData SalomeTreeData ${GUI_ROOT_DIR}/lib/salome)
54 SET(SALOME_GUI_INCLUDE ${GUI_ROOT_DIR}/include/salome)
55 SET(SALOME_KERNEL_INCLUDE ${KERNEL_ROOT_DIR}/include/salome)
56 ADD_DEFINITIONS( -DHAVE_SALOME )
57 ENDIF(EXISTS ${GUI_ROOT_DIR})