Re-Created branch form 0, to avoid conflicts
This commit is contained in:
committed by
wmayer
parent
6c21b74b4b
commit
d7c5054c14
119
src/Mod/Plot/CMakeLists.txt
Normal file
119
src/Mod/Plot/CMakeLists.txt
Normal file
@@ -0,0 +1,119 @@
|
||||
SET(PlotMain_SRCS
|
||||
Plot.py
|
||||
InitGui.py
|
||||
PlotGui.py
|
||||
)
|
||||
SOURCE_GROUP("" FILES ${PlotMain_SRCS})
|
||||
|
||||
SET(PlotIcons_SRCS
|
||||
Icons/Axes.svg
|
||||
Icons/Grid.svg
|
||||
Icons/Icon.svg
|
||||
Icons/Labels.svg
|
||||
Icons/Legend.svg
|
||||
Icons/Positions.svg
|
||||
Icons/Save.svg
|
||||
Icons/Series.svg
|
||||
)
|
||||
SOURCE_GROUP("ploticons" FILES ${PlotIcons_SRCS})
|
||||
|
||||
SET(PlotAxes_SRCS
|
||||
plotAxes/__init__.py
|
||||
plotAxes/TaskPanel.py
|
||||
plotAxes/TaskPanel.ui
|
||||
)
|
||||
SOURCE_GROUP("plotaxes" FILES ${PlotAxes_SRCS})
|
||||
|
||||
SET(PlotLabels_SRCS
|
||||
plotLabels/__init__.py
|
||||
plotLabels/TaskPanel.py
|
||||
plotLabels/TaskPanel.ui
|
||||
)
|
||||
SOURCE_GROUP("plotlabels" FILES ${PlotLabels_SRCS})
|
||||
|
||||
SET(PlotPositions_SRCS
|
||||
plotPositions/__init__.py
|
||||
plotPositions/TaskPanel.py
|
||||
plotPositions/TaskPanel.ui
|
||||
)
|
||||
SOURCE_GROUP("plotpositions" FILES ${PlotPositions_SRCS})
|
||||
|
||||
SET(PlotSave_SRCS
|
||||
plotSave/__init__.py
|
||||
plotSave/TaskPanel.py
|
||||
plotSave/TaskPanel.ui
|
||||
)
|
||||
SOURCE_GROUP("plotsave" FILES ${PlotSave_SRCS})
|
||||
|
||||
SET(PlotSeries_SRCS
|
||||
plotSeries/__init__.py
|
||||
plotSeries/TaskPanel.py
|
||||
plotSeries/TaskPanel.ui
|
||||
)
|
||||
SOURCE_GROUP("plotseries" FILES ${PlotSeries_SRCS})
|
||||
|
||||
SET(PlotUtils_SRCS
|
||||
plotUtils/__init__.py
|
||||
plotUtils/Paths.py
|
||||
plotUtils/Translator.py
|
||||
)
|
||||
SOURCE_GROUP("plotutils" FILES ${PlotUtils_SRCS})
|
||||
|
||||
SET(all_files ${PlotMain_SRCS} ${PlotAxes_SRCS} ${PlotLabels_SRCS} ${PlotPositions_SRCS} ${PlotSave_SRCS} ${PlotSeries_SRCS} ${PlotIcons_SRCS} ${PlotUtils_SRCS})
|
||||
|
||||
ADD_CUSTOM_TARGET(Plot ALL
|
||||
SOURCES ${all_files}
|
||||
)
|
||||
|
||||
fc_copy_sources(Mod/Plot "${CMAKE_BINARY_DIR}/Mod/Plot" ${all_files})
|
||||
|
||||
INSTALL(
|
||||
FILES
|
||||
${PlotIcons_SRCS}
|
||||
DESTINATION
|
||||
Mod/Plot/Icons
|
||||
)
|
||||
INSTALL(
|
||||
FILES
|
||||
${PlotAxes_SRCS}
|
||||
DESTINATION
|
||||
Mod/Plot/plotAxes
|
||||
)
|
||||
INSTALL(
|
||||
FILES
|
||||
${PlotLabels_SRCS}
|
||||
DESTINATION
|
||||
Mod/Plot/plotLabels
|
||||
)
|
||||
INSTALL(
|
||||
FILES
|
||||
${PlotPositions_SRCS}
|
||||
DESTINATION
|
||||
Mod/Plot/plotPositions
|
||||
)
|
||||
INSTALL(
|
||||
FILES
|
||||
${PlotSave_SRCS}
|
||||
DESTINATION
|
||||
Mod/Plot/plotSave
|
||||
)
|
||||
INSTALL(
|
||||
FILES
|
||||
${PlotSeries_SRCS}
|
||||
DESTINATION
|
||||
Mod/Plot/plotSeries
|
||||
)
|
||||
INSTALL(
|
||||
FILES
|
||||
${PlotUtils_SRCS}
|
||||
DESTINATION
|
||||
Mod/Plot/plotUtils
|
||||
)
|
||||
INSTALL(
|
||||
FILES
|
||||
${PlotMain_SRCS}
|
||||
DESTINATION
|
||||
Mod/Plot
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user