Commit ee49e65d authored by Ian McInerney's avatar Ian McInerney
Browse files

Generate a header containing the private QDLDL config options

No related merge requests found
Showing with 28 additions and 0 deletions
+28 -0
......@@ -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)
......
#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 */
qdldl_configure.h
qdldl_types.h
qdldl_version.h
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment