File tree 3 files changed +26
-4
lines changed
3 files changed +26
-4
lines changed Original file line number Diff line number Diff line change
1
+ cmake .
2
+ msbuild ALL_BUILD.vcxproj
Original file line number Diff line number Diff line change
1
+ --- /dev/null 2019-01-16 21:39:07.828957088 +0100
2
+ +++ CMakeLists.txt 2019-01-17 03:36:35.265918586 +0100
3
+ @@ -0,0 +1,12 @@
4
+ + cmake_minimum_required(VERSION 3.6)
5
+ + project(NTL)
6
+ +
7
+ + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
8
+ +
9
+ + file(GLOB SOURCES src/*.cpp)
10
+ + include_directories(include)
11
+ + add_library(${PROJECT_NAME} SHARED ${SOURCES})
12
+ +
13
+ + install(TARGETS ${PROJECT_NAME} DESTINATION lib/${PROJECT_NAME})
14
+ + file(GLOB HEADERS include/*.h)
15
+ + install(FILES ${HEADERS} DESTINATION include/${PROJECT_NAME})
Original file line number Diff line number Diff line change @@ -7,12 +7,15 @@ package:
7
7
8
8
source :
9
9
fn : {{ name }}-{{ version }}.tar.gz
10
- url : http://www.shoup.net/ntl/ntl-{{ version }}.tar.gz
11
- sha256 : 84ba3145abf8d5f3be6832a14c60b3368eb920719ee96e5774587e71ecd66e9d
10
+ url : http://www.shoup.net/ntl/ntl-{{ version }}.tar.gz # [not win]
11
+ url : https://www.shoup.net/ntl/WinNTL-{{ version }}.zip # [win]
12
+ sha256 : 84ba3145abf8d5f3be6832a14c60b3368eb920719ee96e5774587e71ecd66e9d # [not win]
13
+ sha256 : 7488f980ed1b84828f0baea1948233fec328047b27b33a0c3822820f13cc77e2 # [win]
14
+ patches :
15
+ - cmake.patch # [win]
12
16
13
17
build :
14
- number : 1000
15
- skip : true # [win]
18
+ number : 1002
16
19
track_features :
17
20
- ntl
18
21
run_exports :
@@ -24,6 +27,7 @@ requirements:
24
27
- automake
25
28
- {{ compiler('c') }}
26
29
- {{ compiler('cxx') }}
30
+ - cmake # [win]
27
31
host :
28
32
- gf2x
29
33
- gmp
50
54
extra :
51
55
recipe-maintainers :
52
56
- isuruf
57
+ - saraedum
You can’t perform that action at this time.
0 commit comments