Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine Belvire
otb
Commits
b79f7d3f
Commit
b79f7d3f
authored
19 years ago
by
Thomas Feuvrier
Browse files
Options
Downloads
Patches
Plain Diff
nomsg
parent
94865614
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Utils/FltkImageViewer/CMakeLists.txt
+66
-0
66 additions, 0 deletions
Utils/FltkImageViewer/CMakeLists.txt
with
66 additions
and
0 deletions
Utils/FltkImageViewer/CMakeLists.txt
0 → 100755
+
66
−
0
View file @
b79f7d3f
SET
(
FltkImageViewer_SRCS
fltkBox3D.cxx
fltkCone3D.cxx
fltkClippingPlane3DDrawer.cxx
fltkCylinder3D.cxx
fltkFrustum3D.cxx
fltkGlWindow.cxx
fltkGlWindowInteractive.cxx
fltkGlWindowInteractiveFlat.cxx
fltkImage2DViewerWindow.cxx
fltkRGBImage2DViewerWindow.cxx
fltkLightButton.cxx
fltkProgressBar.cxx
fltkShape3D.cxx
fltkSphere3D.cxx
fltkWindowInteractive.cxx
fltkTimeProbeGUI.cxx
fltkTimeProbesCollector.cxx
fltkUtils.cxx
)
SET
(
FltkImageViewer_GUI_SRCS
fltkClippingPlane3DDrawerGUI.fl
fltkDisplayGlWindowGUI.fl
fltkDisplayGlWindowFlatGUI.fl
fltkFrustumFunctionControlGUI.fl
fltkImageViewerGUI.fl
fltkImage2DViewerGUI.fl
fltkRGBImage2DViewerGUI.fl
fltkRegularStepGradientDescentGUI.fl
fltkSlice2DDrawerGUI.fl
fltkSlice3DDrawerGUI.fl
fltkSphereFunctionControlGUI.fl
fltkTimeProbesCollectorGUI.fl
)
IF
(
WIN32
)
ADD_DEFINITIONS
(
-DWIN32
)
ENDIF
(
WIN32
)
INCLUDE_DIRECTORIES
(
${
OTB_SOURCE_DIR
}
/Utils/FltkImageViewer
${
OTB_BINARY_DIR
}
/Utils/FltkImageViewer
)
# Take the list of GUI files, generate .cxx and .h from them and add
# them to the build process of the target
FLTK_WRAP_UI
(
ITKFltkImageViewer
${
FltkImageViewer_GUI_SRCS
}
)
ADD_LIBRARY
(
ITKFltkImageViewer
${
FltkImageViewer_SRCS
}
${
ITKFltkImageViewer_FLTK_UI_SRCS
}
)
INSTALL_TARGETS
(
/lib ITKFltkImageViewer
)
TARGET_LINK_LIBRARIES
(
ITKFltkImageViewer
${
FLTK_LIBRARIES
}
${
OPENGL_glu_LIBRARY
}
${
OPENGL_LIBRARIES
}
)
# The fluid-generated fltk sources have many warnings. Disable
# warnings for the generated files on some compilers.
IF
(
${
CMAKE_MAJOR_VERSION
}
.
${
CMAKE_MINOR_VERSION
}
GREATER 1.6
)
IF
(
CMAKE_COMPILER_IS_GNUCXX
)
FOREACH
(
f
${
FltkImageViewer_GUI_SRCS
}
)
STRING
(
REGEX REPLACE
"
\\
.fl$"
".cxx"
SRC
"
${
f
}
"
)
SET
(
SRC
${
OTB_BINARY_DIR
}
/Utils/FltkImageViewer/
${
SRC
}
)
SET_SOURCE_FILES_PROPERTIES
(
${
SRC
}
PROPERTIES COMPILE_FLAGS -w
)
ENDFOREACH
(
f
)
ENDIF
(
CMAKE_COMPILER_IS_GNUCXX
)
ENDIF
(
${
CMAKE_MAJOR_VERSION
}
.
${
CMAKE_MINOR_VERSION
}
GREATER 1.6
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment