Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
CoMISo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CoMISo
CoMISo
Commits
a0787391
Commit
a0787391
authored
Jul 27, 2016
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add flag to disable build of example apps
parent
0397317c
Pipeline
#2337
failed with stage
in 15 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
43 deletions
+47
-43
CMakeLists.txt
CMakeLists.txt
+47
-43
No files found.
CMakeLists.txt
View file @
a0787391
...
...
@@ -456,70 +456,74 @@ configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/Config/config.hh.in"
# of the library are already there
#######################################################################
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/factored_solver/CMakeLists.txt"
)
add_subdirectory
(
Examples/factored_solver
)
endif
()
set
(
COMISO_BUILD_EXAMPLES TRUE CACHE BOOL
"Build CoMISo Examples"
)
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/quadratic_solver/CMakeLists.txt"
)
if
(
COMISO_BUILD_EXAMPLES
)
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/factored_solver/CMakeLists.txt"
)
add_subdirectory
(
Examples/factored_solver
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/quadratic_solver/CMakeLists.txt"
)
add_subdirectory
(
Examples/quadratic_solver
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/test2/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/test2/CMakeLists.txt"
)
add_subdirectory
(
Examples/test2
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_quadratic_example/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_quadratic_example/CMakeLists.txt"
)
add_subdirectory
(
Examples/small_quadratic_example
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_factored_example/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_factored_example/CMakeLists.txt"
)
add_subdirectory
(
Examples/small_factored_example
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/super_sparse_matrix/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/super_sparse_matrix/CMakeLists.txt"
)
add_subdirectory
(
Examples/super_sparse_matrix
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/eigen_solver/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/eigen_solver/CMakeLists.txt"
)
add_subdirectory
(
Examples/eigen_solver
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_nsolver/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_nsolver/CMakeLists.txt"
)
add_subdirectory
(
Examples/small_nsolver
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_eigenproblem/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_eigenproblem/CMakeLists.txt"
)
add_subdirectory
(
Examples/small_eigenproblem
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_miqp/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_miqp/CMakeLists.txt"
)
add_subdirectory
(
Examples/small_miqp
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_nleast_squares/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_nleast_squares/CMakeLists.txt"
)
add_subdirectory
(
Examples/small_nleast_squares
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_sparseqr/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_sparseqr/CMakeLists.txt"
)
add_subdirectory
(
Examples/small_sparseqr
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_quadratic_resolve_example/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_quadratic_resolve_example/CMakeLists.txt"
)
add_subdirectory
(
Examples/small_quadratic_resolve_example
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_cplex_soc/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_cplex_soc/CMakeLists.txt"
)
add_subdirectory
(
Examples/small_cplex_soc
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_adolc/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_adolc/CMakeLists.txt"
)
add_subdirectory
(
Examples/small_adolc
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_dco/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_dco/CMakeLists.txt"
)
add_subdirectory
(
Examples/small_dco
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/vector1_adolc/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/vector1_adolc/CMakeLists.txt"
)
add_subdirectory
(
Examples/vector1_adolc
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_linear_problem/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_linear_problem/CMakeLists.txt"
)
add_subdirectory
(
Examples/small_linear_problem
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/crossfield3d/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/crossfield3d/CMakeLists.txt"
)
add_subdirectory
(
Examples/crossfield3d
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/crossfield3d/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/crossfield3d/CMakeLists.txt"
)
add_subdirectory
(
Examples/crossfield3d_dco
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_finite_element/CMakeLists.txt"
)
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/Examples/small_finite_element/CMakeLists.txt"
)
add_subdirectory
(
Examples/small_finite_element
)
endif
()
endif
()
endif
(
COMISO_BUILD_EXAMPLES
)
# Only create install target, when we are building CoMISo standalone
if
(
${
PROJECT_NAME
}
MATCHES
"CoMISo"
)
...
...
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