This repository was archived by the owner on Jul 6, 2019. It is now read-only.
File tree 5 files changed +10
-30
lines changed
5 files changed +10
-30
lines changed Original file line number Diff line number Diff line change 19
19
<PreprocessorDefinitions >_MBCS;%(PreprocessorDefinitions);NOMINMAX</PreprocessorDefinitions >
20
20
</ClCompile >
21
21
<Link >
22
- <AdditionalLibraryDirectories >$(SolutionDir)../cybozulib_ext/mpir/ lib;$(SolutionDir)lib</AdditionalLibraryDirectories >
22
+ <AdditionalLibraryDirectories >$(SolutionDir)../cybozulib_ext/lib;$(SolutionDir)lib</AdditionalLibraryDirectories >
23
23
</Link >
24
24
</ItemDefinitionGroup >
25
25
<ItemGroup />
Original file line number Diff line number Diff line change 7
7
</PropertyGroup >
8
8
<ItemDefinitionGroup >
9
9
<ClCompile >
10
- <RuntimeLibrary >MultiThreadedDebugDLL </RuntimeLibrary >
10
+ <RuntimeLibrary >MultiThreadedDebug </RuntimeLibrary >
11
11
</ClCompile >
12
12
</ItemDefinitionGroup >
13
13
<ItemGroup />
Original file line number Diff line number Diff line change 24
24
#include < stdint.h>
25
25
#ifdef _MSC_VER
26
26
#pragma warning(pop)
27
- #endif
28
- #ifdef _MSC_VER
29
- #if _MSC_VER == 1900 /* VS2015 */
30
- #ifdef _DEBUG
31
- #pragma comment(lib, "14/mpird.lib")
32
- #pragma comment(lib, "14/mpirxxd.lib")
33
- #else
34
- #pragma comment(lib, "14/mpir.lib")
35
- #pragma comment(lib, "14/mpirxx.lib")
36
- #endif
37
- #elif _MSC_VER == 1800 /* VS2013 */
38
- #ifdef _DEBUG
39
- #pragma comment(lib, "12/mpird.lib")
40
- #pragma comment(lib, "12/mpirxxd.lib")
41
- #else
42
- #pragma comment(lib, "12/mpir.lib")
43
- #pragma comment(lib, "12/mpirxx.lib")
44
- #endif
45
- #else /* assume _MSC_VER == 1700 . VS2012 */
46
- #ifdef _DEBUG
47
- #pragma comment(lib, "mpird.lib")
48
- #pragma comment(lib, "mpirxxd.lib")
49
- #else
50
- #pragma comment(lib, "mpir.lib")
51
- #pragma comment(lib, "mpirxx.lib")
52
- #endif
53
- #endif
27
+ #include < cybozu/link_mpir.hpp>
54
28
#endif
55
29
56
30
namespace mcl {
Original file line number Diff line number Diff line change @@ -37,6 +37,12 @@ cd mcl
37
37
make BIT=32 CFLAGS_USER="-I <lib32>/include" LDFLAGS_USER="-L <lib32>/lib -Wl,-rpath,<lib32>/lib"
38
38
```
39
39
40
+ ## Build for 64-bit Windows
41
+ open mcl.sln and build or if you have msbuild.exe
42
+ ```
43
+ msbuild /p:Configuration=Release
44
+ ```
45
+
40
46
# License
41
47
42
48
modified new BSD License
Original file line number Diff line number Diff line change 5
5
<PropertyGroup />
6
6
<ItemDefinitionGroup >
7
7
<ClCompile >
8
- <RuntimeLibrary >MultiThreadedDLL </RuntimeLibrary >
8
+ <RuntimeLibrary >MultiThreaded </RuntimeLibrary >
9
9
</ClCompile >
10
10
</ItemDefinitionGroup >
11
11
<ItemGroup />
You can’t perform that action at this time.
0 commit comments