From 854e1089d77027985cc5b9e5e915eefe42f0af26 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 17 Feb 2014 00:06:29 +0100 Subject: [PATCH] Moved kernels config to separate file. --- kernels.h | 6 ++++++ winbuild/dist/include/config.h | 8 +------- winbuild/sgminer.vcxproj | 1 + winbuild/sgminer.vcxproj.filters | 3 +++ 4 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 kernels.h diff --git a/kernels.h b/kernels.h new file mode 100644 index 00000000..479cfdf0 --- /dev/null +++ b/kernels.h @@ -0,0 +1,6 @@ +#define ALEXKARNEW_KERNNAME "alexkarnew" +#define ALEXKAROLD_KERNNAME "alexkarold" +#define CKOLIVAS_KERNNAME "ckolivas" +#define ZUIKKIS_KERNNAME "zuikkis" +#define PSW_KERNNAME "psw" +#define NSCRYPT_KERNNAME "nscrypt" \ No newline at end of file diff --git a/winbuild/dist/include/config.h b/winbuild/dist/include/config.h index 0c1a071a..dc6092e2 100644 --- a/winbuild/dist/include/config.h +++ b/winbuild/dist/include/config.h @@ -3,13 +3,6 @@ #define HAVE_STDINT_H -#define ALEXKARNEW_KERNNAME "alexkarnew" -#define ALEXKAROLD_KERNNAME "alexkarold" -#define CKOLIVAS_KERNNAME "ckolivas" -#define ZUIKKIS_KERNNAME "zuikkis" -#define PSW_KERNNAME "psw" -#define NSCRYPT_KERNNAME "nscrypt" - #if defined(_MSC_VER) #define HAVE_LIBCURL 1 @@ -84,6 +77,7 @@ #define SGMINER_PREFIX "" +#include "kernels.h" #include "gitversion.h" #include "winbuild.h" diff --git a/winbuild/sgminer.vcxproj b/winbuild/sgminer.vcxproj index fc95e6c1..7e59b595 100644 --- a/winbuild/sgminer.vcxproj +++ b/winbuild/sgminer.vcxproj @@ -280,6 +280,7 @@ exit 0 + diff --git a/winbuild/sgminer.vcxproj.filters b/winbuild/sgminer.vcxproj.filters index 0ed5cb60..29250318 100644 --- a/winbuild/sgminer.vcxproj.filters +++ b/winbuild/sgminer.vcxproj.filters @@ -163,6 +163,9 @@ Header Files + + Header Files +