mirror of https://github.com/status-im/evmc.git
commit
febd7a1878
|
@ -24,7 +24,7 @@ before_build:
|
||||||
if ($env:GENERATOR) {
|
if ($env:GENERATOR) {
|
||||||
if (!(test-path build)) { mkdir build }
|
if (!(test-path build)) { mkdir build }
|
||||||
cd build
|
cd build
|
||||||
cmake -G "$env:GENERATOR" .. -DBUILD_SHARED_LIBS=ON -DEVMC_EXAMPLES=ON -DEVMC_TESTING=ON -DCMAKE_INSTALL_PREFIX=C:\install
|
cmake -Wno-dev -G "$env:GENERATOR" .. -DBUILD_SHARED_LIBS=ON -DEVMC_EXAMPLES=ON -DEVMC_TESTING=ON -DCMAKE_INSTALL_PREFIX=C:\install
|
||||||
}
|
}
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
|
|
|
@ -6,6 +6,6 @@
|
||||||
# Hunter is going to be initialized only if building with tests,
|
# Hunter is going to be initialized only if building with tests,
|
||||||
# where it is needed to get dependencies.
|
# where it is needed to get dependencies.
|
||||||
HunterGate(
|
HunterGate(
|
||||||
URL "https://github.com/ruslo/hunter/archive/v0.22.23.tar.gz"
|
URL "https://github.com/ruslo/hunter/archive/v0.23.4.tar.gz"
|
||||||
SHA1 "16c562a69489ff9c1b5266a12d5e903084de693a"
|
SHA1 "8b2255921208517a55c9533c500131387e3c3dd0"
|
||||||
)
|
)
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#define DLL_HANDLE HMODULE
|
#define DLL_HANDLE HMODULE
|
||||||
#define DLL_OPEN(filename) LoadLibrary(filename)
|
#define DLL_OPEN(filename) LoadLibrary(filename)
|
||||||
#define DLL_CLOSE(handle) FreeLibrary(handle)
|
#define DLL_CLOSE(handle) FreeLibrary(handle)
|
||||||
#define DLL_GET_CREATE_FN(handle, name) (evmc_create_fn) GetProcAddress(handle, name)
|
#define DLL_GET_CREATE_FN(handle, name) (evmc_create_fn)(uintptr_t) GetProcAddress(handle, name)
|
||||||
#define HAVE_STRCPY_S 1
|
#define HAVE_STRCPY_S 1
|
||||||
#else
|
#else
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
|
Loading…
Reference in New Issue