Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
planning
ThirdParty
qdldl
Commits
ee49e65d
Commit
ee49e65d
authored
4 years ago
by
Ian McInerney
Browse files
Options
Download
Email Patches
Plain Diff
Generate a header containing the private QDLDL config options
parent
a00d5009
master
v0.1.6
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+6
-0
CMakeLists.txt
configure/qdldl_configure.h.in
+21
-0
configure/qdldl_configure.h.in
include/.gitignore
+1
-0
include/.gitignore
with
28 additions
and
0 deletions
+28
-0
CMakeLists.txt
+
6
-
0
View file @
ee49e65d
...
...
@@ -78,6 +78,12 @@ endif()
#problems when calling QDLDL from C++
set
(
QDLDL_BOOL_TYPE
"unsigned char"
)
# Generate header file with the global options
# ---------------------------------------------
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/configure/qdldl_configure.h.in
${
CMAKE_CURRENT_SOURCE_DIR
}
/include/qdldl_configure.h
NEWLINE_STYLE LF
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/configure/qdldl_types.h.in
${
CMAKE_CURRENT_SOURCE_DIR
}
/include/qdldl_types.h
NEWLINE_STYLE LF
)
...
...
This diff is collapsed.
Click to expand it.
configure/qdldl_configure.h.in
0 → 100644
+
21
-
0
View file @
ee49e65d
#ifndef QDLDL_CONFIGURE_H
# define QDLDL_CONFIGURE_H
# ifdef __cplusplus
extern "C" {
# endif /* ifdef __cplusplus */
/* DEBUG */
#cmakedefine DEBUG
/* DFLOAT */
#cmakedefine DFLOAT
/* DLONG */
#cmakedefine DLONG
# ifdef __cplusplus
}
# endif /* ifdef __cplusplus */
#endif /* ifndef QDLDL_CONFIGURE_H */
This diff is collapsed.
Click to expand it.
include/.gitignore
+
1
-
0
View file @
ee49e65d
qdldl_configure.h
qdldl_types.h
qdldl_version.h
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets