Skip to content

Commit b3a7ec9

Browse files
committed
add libarea recipe
1 parent 49ce2ee commit b3a7ec9

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

libarea/bld.bat

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
mkdir build
2+
cd build
3+
4+
cmake .. -G "Ninja" ^
5+
-DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
6+
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE
7+
8+
if errorlevel 1 exit 1
9+
ninja install
10+
if errorlevel 1 exit 1

libarea/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cmake -DCMAKE_INSTALL_PREFIX=${PREFIX} .
2+
make install

libarea/meta.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package:
2+
name: libarea
3+
version: 0.0.1
4+
5+
build:
6+
number: 0
7+
8+
source:
9+
git_url: https://github.com/looooo/libarea
10+
11+
requirements:
12+
build:
13+
- ninja # [win]
14+
- vc 14 # [win and py>=35]
15+
- python
16+
- cmake
17+
- pybind11
18+
run:
19+
- vc 14 # [win and py>=35]
20+
- python
21+
22+
about:
23+
summary: area library

0 commit comments

Comments
 (0)