Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
273
Issues
273
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main Repositories
otb
Commits
d50163ae
Commit
d50163ae
authored
Oct 17, 2007
by
Cyrille Valladeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mise a jour du CMakeLists.txt de l'OTB suite à la mise a jour de l'ITK en Interne.
parent
3758cd1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
CMakeLists.txt
CMakeLists.txt
+27
-0
No files found.
CMakeLists.txt
View file @
d50163ae
...
...
@@ -391,6 +391,33 @@ IF(WIN32)
SET
(
OTB_REQUIRED_CXX_FLAGS
"
${
OTB_REQUIRED_CXX_FLAGS
}
-DNOMINMAX"
)
ENDIF
(
WIN32
)
#-----------------------------------------------------------------------------
# Test for an Objective-C++ compiler.
SET
(
OTB_OBJCXX_COMPILER_WORKS 0
)
IF
(
APPLE
)
TRY_COMPILE
(
OTB_OBJCXX_COMPILER_WORKS
${
OTB_BINARY_DIR
}
/CMakeTmp
${
OTB_SOURCE_DIR
}
/CMake/otbTestObjCxxCompiler.mm
OUTPUT_VARIABLE OTB_OBJCXX_TRY_COMPILE_OUTPUT
)
IF
(
OTB_OBJCXX_COMPILER_WORKS
)
FILE
(
APPEND
${
CMAKE_BINARY_DIR
}${
CMAKE_FILES_DIRECTORY
}
/CMakeOutput.log
"Determining if the Objective-C compiler works passed with "
"the following output:
\n
${
OTB_OBJCXX_TRY_COMPILE_OUTPUT
}
\n\n
"
)
ELSE
(
OTB_OBJCXX_COMPILER_WORKS
)
FILE
(
APPEND
${
CMAKE_BINARY_DIR
}${
CMAKE_FILES_DIRECTORY
}
/CMakeError.log
"Determining if the Objective-C compiler works failed with "
"the following output:
\n
${
OTB_OBJCXX_TRY_COMPILE_OUTPUT
}
\n\n
"
)
ENDIF
(
OTB_OBJCXX_COMPILER_WORKS
)
ENDIF
(
APPLE
)
#-----------------------------------------------------------------------------
# mingw thread support
IF
(
MINGW
)
SET
(
OTB_REQUIRED_CXX_FLAGS
"
${
OTB_REQUIRED_CXX_FLAGS
}
-mthreads"
)
SET
(
OTB_REQUIRED_C_FLAGS
"
${
OTB_REQUIRED_C_FLAGS
}
-mthreads"
)
SET
(
OTB_REQUIRED_LINK_FLAGS
"
${
OTB_REQUIRED_LINK_FLAGS
}
-mthreads"
)
ENDIF
(
MINGW
)
#-----------------------------------------------------------------------------
#
# See if compiler preprocessor has the __FUNCTION__ directive used by itkExceptionMacro
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment