Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Nektar
Nektar
Commits
f279f742
Commit
f279f742
authored
May 09, 2015
by
Spencer Sherwin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Working version with search for libccmio.a and libadf.a
parent
b9b33398
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
3 deletions
+28
-3
CMakeLists.txt
CMakeLists.txt
+1
-1
cmake/ThirdPartyCCM.cmake
cmake/ThirdPartyCCM.cmake
+22
-0
utilities/PreProcessing/MeshConvert/CMakeLists.txt
utilities/PreProcessing/MeshConvert/CMakeLists.txt
+5
-2
No files found.
CMakeLists.txt
View file @
f279f742
...
...
@@ -177,7 +177,7 @@ INCLUDE (ThirdPartyPETSc)
INCLUDE
(
ThirdPartyVTK
)
INCLUDE
(
ThirdPartyQT4
)
INCLUDE
(
ThirdPartySMV
)
#
INCLUDE (ThirdPartyCCM)
INCLUDE
(
ThirdPartyCCM
)
INCLUDE
(
Doxygen
)
...
...
cmake/ThirdPartyCCM.cmake
0 → 100644
View file @
f279f742
########################################################################
#
# ThirdParty configuration for Nektar++
#
# Star CCM i/o
#
########################################################################
OPTION
(
NEKTAR_USE_CCM
"CCM star i/o library is available."
OFF
)
IF
(
NEKTAR_USE_CCM
)
FIND_LIBRARY
(
CCMIO_LIBRARY NAMES
"ccmio"
"adf"
PATHS /usr/local/lib
)
IF
(
CCMIO_LIBRARY
)
MESSAGE
(
STATUS
"Found Ccmio:
${
CCMIO_LIBRARY
}
"
)
MARK_AS_ADVANCED
(
CCMIO_LIBRARY
)
ADD_DEFINITIONS
(
-DNEKTAR_USE_CCM
)
ELSE
()
MESSAGE
(
FATAL_ERROR
"Cound not find ccmio library"
)
ENDIF
()
ENDIF
(
NEKTAR_USE_CCM
)
utilities/PreProcessing/MeshConvert/CMakeLists.txt
View file @
f279f742
...
...
@@ -5,7 +5,6 @@ SET(MeshConvertHeaders
InputPly.h
InputSem.h
InputSwan.h
InputStar.h
InputStarTec.h
MeshElements.h
Module.h
...
...
@@ -29,7 +28,6 @@ SET(MeshConvertSources
InputPly.cpp
InputSem.cpp
InputSwan.cpp
InputStar.cpp
InputStarTec.cpp
MeshConvert.cpp
MeshElements.cpp
...
...
@@ -47,6 +45,11 @@ SET(MeshConvertSources
ProcessTetSplit.cpp
)
IF
(
NEKTAR_USE_CCM
)
SET
(
MeshConvertHeaders
${
MeshConvertHeaders
}
InputStar.h
)
SET
(
MeshConvertSources
${
MeshConvertSources
}
InputStar.cpp
)
ENDIF
(
NEKTAR_USE_CCM
)
IF
(
NEKTAR_USE_VTK
)
SET
(
MeshConvertHeaders
${
MeshConvertHeaders
}
InputVtk.h OutputVtk.h
)
SET
(
MeshConvertSources
${
MeshConvertSources
}
InputVtk.cpp OutputVtk.cpp
)
...
...
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