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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
David Youssefi
otb
Commits
d7edf0d3
Commit
d7edf0d3
authored
17 years ago
by
Julien Michel
Browse files
Options
Downloads
Patches
Plain Diff
compilation ossim mingw.
parent
25a95b50
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
Utilities/OSSIM/src/ossim/CMakeLists.txt
+70
-43
70 additions, 43 deletions
Utilities/OSSIM/src/ossim/CMakeLists.txt
with
70 additions
and
43 deletions
Utilities/OSSIM/src/ossim/CMakeLists.txt
+
70
−
43
View file @
d7edf0d3
# Commented since we choosed to build one single library to compile ossim
#SUBDIRS(base elevation fonts imaging libpolyclip matrix parallel projections support_data vec vpf_util plugin init)
FILE
(
GLOB_RECURSE ossim_base_SRCS
"base/*.cpp"
"base/*.c"
)
FILE
(
GLOB_RECURSE ossim_elevation_SRCS
"elevation/*.cpp"
"elevation/*.c"
)
FILE
(
GLOB_RECURSE ossim_font_SRCS
"font/*.cpp"
"font/*.c"
)
...
...
@@ -16,29 +13,38 @@ FILE(GLOB_RECURSE ossim_init_SRCS "init/*.cpp" "init/*.c")
FILE
(
GLOB_RECURSE ossim_kbool_SRCS
"kbool/*.cpp"
"kbool/*.c"
)
FILE
(
GLOB_RECURSE ossim_dll_main_SRCS
"dll_main/*.cpp"
)
ADD_LIBRARY
(
ossimKBool
${
ossim_kbool_SRCS
}
)
ADD_LIBRARY
(
ossimMatrix
${
ossim_matrix_SRCS
}
)
TARGET_LINK_LIBRARIES
(
ossimMatrix ossimKBool
)
ADD_LIBRARY
(
ossimBase
${
ossim_base_SRCS
}
)
TARGET_LINK_LIBRARIES
(
ossimBase ossimMatrix
)
ADD_LIBRARY
(
ossimPlugin
${
ossim_plugin_SRCS
}
)
TARGET_LINK_LIBRARIES
(
ossimPlugin ossimBase
)
ADD_LIBRARY
(
ossimFont
${
ossim_font_SRCS
}
)
TARGET_LINK_LIBRARIES
(
ossimFont ossimPlugin
)
ADD_LIBRARY
(
ossimVpfUtil
${
ossim_vpfutil_SRCS
}
)
TARGET_LINK_LIBRARIES
(
ossimVpfUtil ossimFont
)
ADD_LIBRARY
(
ossimVec
${
ossim_vec_SRCS
}
)
TARGET_LINK_LIBRARIES
(
ossimVec ossimVpfUtil
)
ADD_LIBRARY
(
ossimSupportData
${
ossim_support_data_SRCS
}
)
TARGET_LINK_LIBRARIES
(
ossimSupportData ossimVec
)
ADD_LIBRARY
(
ossimElevation
${
ossim_elevation_SRCS
}
)
TARGET_LINK_LIBRARIES
(
ossimElevation ossimSupportData
)
ADD_LIBRARY
(
ossimProjection
${
ossim_projection_SRCS
}
)
TARGET_LINK_LIBRARIES
(
ossimProjection ossimElevation
)
ADD_LIBRARY
(
ossimImaging
${
ossim_imaging_SRCS
}
${
ossim_parallel_SRCS
}
)
TARGET_LINK_LIBRARIES
(
ossimImaging ossimProjection itktiff itkjpeg8 itkjpeg12
itkjpeg16
)
TARGET_LINK_LIBRARIES
(
ossimImaging ossimProjection itktiff itkjpeg8 itkjpeg12
itkjpeg16
)
IF
(
WIN32
)
IF
(
NOT BORLAND
)
...
...
@@ -50,44 +56,65 @@ IF(WIN32)
ENDIF
(
NOT BORLAND
)
ENDIF
(
WIN32
)
ADD_LIBRARY
(
ossim
${
ossim_init_SRCS
}
)
TARGET_LINK_LIBRARIES
(
ossim ossimImaging
)
INSTALL
(
TARGETS ossimKBool
RUNTIME DESTINATION
${
OTB_INSTALL_BIN_DIR
}
COMPONENT RuntimeLibraries
LIBRARY DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT RuntimeLibraries
ARCHIVE DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT Development
)
INSTALL
(
TARGETS ossimMatrix
RUNTIME DESTINATION
${
OTB_INSTALL_BIN_DIR
}
COMPONENT RuntimeLibraries
LIBRARY DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT RuntimeLibraries
ARCHIVE DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT Development
)
INSTALL
(
TARGETS ossimBase
RUNTIME DESTINATION
${
OTB_INSTALL_BIN_DIR
}
COMPONENT RuntimeLibraries
LIBRARY DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT RuntimeLibraries
ARCHIVE DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT Development
)
INSTALL
(
TARGETS ossimPlugin
RUNTIME DESTINATION
${
OTB_INSTALL_BIN_DIR
}
COMPONENT RuntimeLibraries
LIBRARY DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT RuntimeLibraries
ARCHIVE DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT Development
)
INSTALL
(
TARGETS ossimFont
RUNTIME DESTINATION
${
OTB_INSTALL_BIN_DIR
}
COMPONENT RuntimeLibraries
LIBRARY DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT RuntimeLibraries
ARCHIVE DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT Development
)
INSTALL
(
TARGETS ossimVpfUtil
RUNTIME DESTINATION
${
OTB_INSTALL_BIN_DIR
}
COMPONENT RuntimeLibraries
LIBRARY DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT RuntimeLibraries
ARCHIVE DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT Development
)
INSTALL
(
TARGETS ossimVec
RUNTIME DESTINATION
${
OTB_INSTALL_BIN_DIR
}
COMPONENT RuntimeLibraries
LIBRARY DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT RuntimeLibraries
ARCHIVE DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT Development
)
INSTALL
(
TARGETS ossimSupportData
RUNTIME DESTINATION
${
OTB_INSTALL_BIN_DIR
}
COMPONENT RuntimeLibraries
LIBRARY DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT RuntimeLibraries
ARCHIVE DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT Development
)
INSTALL
(
TARGETS ossimElevation
RUNTIME DESTINATION
${
OTB_INSTALL_BIN_DIR
}
COMPONENT RuntimeLibraries
LIBRARY DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT RuntimeLibraries
ARCHIVE DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT Development
)
INSTALL
(
TARGETS ossimProjection
RUNTIME DESTINATION
${
OTB_INSTALL_BIN_DIR
}
COMPONENT RuntimeLibraries
LIBRARY DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT RuntimeLibraries
ARCHIVE DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT Development
)
INSTALL
(
TARGETS ossimImaging
RUNTIME DESTINATION
${
OTB_INSTALL_BIN_DIR
}
COMPONENT RuntimeLibraries
LIBRARY DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT RuntimeLibraries
ARCHIVE DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT Development
)
#SET(OSSIM_SRCS
#${ossim_base_SRCS}
#${ossim_elevation_SRCS}
#${ossim_font_SRCS}
#${ossim_imaging_SRCS}
#${ossim_matrix_SRCS}
#${ossim_parallel_SRCS}
#${ossim_projection_SRCS}
#${ossim_support_data_SRCS}
#${ossim_vec_SRCS}
#${ossim_vpfutil_SRCS}
#${ossim_plugin_SRCS}
#${ossim_init_SRCS}
#${ossim_kbool_SRCS}
#)
#
#
#IF(WIN32)
# IF(NOT BORLAND)
# IF(NOT CYGWIN)
# IF(NOT MINGW)
# SET(OSSIM_SRCS ${OSSIM_SRCS} ${ossim_dll_main_SRCS})
# ENDIF(NOT MINGW)
# ENDIF(NOT CYGWIN)
# ENDIF(NOT BORLAND)
#ENDIF(WIN32)
#
#
#ADD_LIBRARY(ossim ${OSSIM_SRCS})
#TARGET_LINK_LIBRARIES(ossim itktiff itkjpeg8 itkjpeg12 itkjpeg16)
#
#INSTALL(TARGETS ossim
#RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries
#LIBRARY DESTINATION ${OTB_INSTALL_LIB_DIR} COMPONENT RuntimeLibraries
#ARCHIVE DESTINATION ${OTB_INSTALL_LIB_DIR} COMPONENT Development)
#
INSTALL
(
TARGETS ossim
RUNTIME DESTINATION
${
OTB_INSTALL_BIN_DIR
}
COMPONENT RuntimeLibraries
LIBRARY DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT RuntimeLibraries
ARCHIVE DESTINATION
${
OTB_INSTALL_LIB_DIR
}
COMPONENT Development
)
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