Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
Power System Simulation and Optimization
DPsim
DPsim
Commits
ef47ba38
Commit
ef47ba38
authored
Jun 29, 2020
by
Markus Mirz
Browse files
cmake: add graphviz feature
parent
365d88de
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
ef47ba38
...
...
@@ -107,14 +107,15 @@ include(CMakeDependentOption)
option
(
BUILD_SHARED_LIBS
"Build shared library"
OFF
)
option
(
BUILD_EXAMPLES
"Build C++ examples"
ON
)
cmake_dependent_option
(
WITH_GSL
"Enable GSL"
ON
"GSL_FOUND"
OFF
)
cmake_dependent_option
(
WITH_SUNDIALS
"Enable sundials solver suite"
ON
"Sundials_FOUND"
OFF
)
cmake_dependent_option
(
WITH_SHMEM
"Enable shared memory interface"
ON
"VILLASnode_FOUND"
OFF
)
cmake_dependent_option
(
WITH_RT
"Enable real-time features"
ON
"Linux_FOUND"
OFF
)
cmake_dependent_option
(
WITH_PYTHON
"Enable Python support"
ON
"Python_FOUND"
OFF
)
cmake_dependent_option
(
WITH_CIM
"Enable support for parsing CIM files"
ON
"CIMpp_FOUND"
OFF
)
cmake_dependent_option
(
WITH_OPENMP
"Enable OpenMP-based parallelisation"
ON
"OPENMP_FOUND"
OFF
)
cmake_dependent_option
(
WITH_CUDA
"Enable CUDA-based parallelisation"
ON
"CUDA_FOUND"
OFF
)
cmake_dependent_option
(
WITH_GSL
"Enable GSL"
ON
"GSL_FOUND"
OFF
)
cmake_dependent_option
(
WITH_SUNDIALS
"Enable sundials solver suite"
ON
"Sundials_FOUND"
OFF
)
cmake_dependent_option
(
WITH_SHMEM
"Enable shared memory interface"
ON
"VILLASnode_FOUND"
OFF
)
cmake_dependent_option
(
WITH_RT
"Enable real-time features"
ON
"Linux_FOUND"
OFF
)
cmake_dependent_option
(
WITH_PYTHON
"Enable Python support"
ON
"Python_FOUND"
OFF
)
cmake_dependent_option
(
WITH_CIM
"Enable support for parsing CIM"
ON
"CIMpp_FOUND"
OFF
)
cmake_dependent_option
(
WITH_OPENMP
"Enable OpenMP-based parallelisation"
ON
"OPENMP_FOUND"
OFF
)
cmake_dependent_option
(
WITH_CUDA
"Enable CUDA-based parallelisation"
ON
"CUDA_FOUND"
OFF
)
cmake_dependent_option
(
WITH_GRAPHVIZ
"Enable Graphviz Graphs"
ON
"GRAPHVIZ_FOUND"
OFF
)
if
(
WITH_CUDA
)
# BEGIN OF WORKAROUND - enable cuda dynamic linking.
...
...
Write
Preview
Supports
Markdown
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