- deptestomatic: Using helix-file for fallback if the solv-file does not
exist.
SET(libsatsolver_SRCS bitmap.c poolarch.c poolvendor.c poolid.c strpool.c dirpool.c
-solver.c repo_solv.c evr.c pool.c queue.c repo.c repodata.c util.c policy.c)
+solver.c repo_solv.c repo_helix.c evr.c pool.c queue.c repo.c repodata.c util.c policy.c)
ADD_LIBRARY(satsolver STATIC ${libsatsolver_SRCS})
-SET(libsatsolver_HEADERS bitmap.h evr.h hash.h policy.h poolarch.h poolvendor.h pool.h poolid.h pooltypes.h queue.h solvable.h solver.h repo.h repodata.h repo_solv.h util.h strpool.h dirpool.h)
+SET(libsatsolver_HEADERS bitmap.h evr.h hash.h policy.h poolarch.h poolvendor.h pool.h poolid.h pooltypes.h queue.h solvable.h solver.h repo.h repodata.h repo_solv.h repo_helix.h util.h strpool.h dirpool.h)
SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC" )
*
*/
-#ifndef REPO_HELIX_H
-#define REPO_HELIX_H
+#ifndef SATSOLVER_REPO_HELIX_H
+#define SATSOLVER_REPO_HELIX_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
#include <stdio.h>
#include "pool.h"
extern void repo_add_helix(Repo *repo, FILE *fp);
-#endif /* REPO_HELIX_H */
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif /* SATSOLVER_REPO_HELIX_H */
ADD_EXECUTABLE( rpmmd2solv ${rpmmd2solv_REPOS} )
TARGET_LINK_LIBRARIES( rpmmd2solv satsolver ${EXPAT_LIBRARY})
-SET(helix2solv_REPOS helix2solv.c repo_helix.h repo_helix.c repo_write.c common_write.c )
+SET(helix2solv_REPOS helix2solv.c repo_write.c common_write.c )
ADD_EXECUTABLE( helix2solv ${helix2solv_REPOS} )
TARGET_LINK_LIBRARIES( helix2solv satsolver ${EXPAT_LIBRARY})