Skip to content
Snippets Groups Projects
Commit 1c76bf61 authored by Jan Pöppel's avatar Jan Pöppel
Browse files

fixed meta yaml and cmakelists

parent 0b186d0a
No related branches found
No related tags found
No related merge requests found
{% set protobufversion = "3.8.0" %} {% set protobufversion = "3.8.0" %}
package: package:
name: ipaaca name: ipaaca
version: "0.1.1" version: "0.1.2"
source: source:
- path: ../ipaacalib/cpp/ - path: ../ipaacalib/cpp
folder: ipaaca-cpp folder: ipaaca-cpp
- path: ../ipaacalib/python/ - path: ../ipaacalib/proto
folder: ipaaca-py folder: proto
- path: ../ipaacalib/proto/ - path: ../ipaacalib/python
folder: proto folder: ipaaca-py
build: build:
number: 4 number: 1
requirements: requirements:
build: run:
- {{ compiler('cxx') }} 7.3 # [linux] - ipaaca-cpp
- cmake >=3.10 - ipaaca-py
run:
- ipaaca-cpp
- ipaaca-py
outputs: outputs:
- name: ipaaca-cpp - name: ipaaca-cpp
script: install_cpp.sh script: install_cpp.sh
requirements: requirements:
host: build:
- libprotobuf {{ protobufversion }} - {{ compiler('c') }}
- mosquitto - {{ compiler('cxx') }}
- libboost - cmake >=3.10
host:
run: - libprotobuf {{ protobufversion }}
- mosquitto - mosquitto
- {{ pin_compatible('libprotobuf', max_pin='x.x') }} - libboost
- libboost run:
- mosquitto
- name: ipaaca-py - libprotobuf {{ protobufversion }}
noarch: python - libboost
script: install_python.sh
requirements: - name: ipaaca-py
host: noarch: python
- python script: install_python.sh
- pip requirements:
- setuptools host:
- protobuf {{ protobufversion }} - python
- pip
run: - setuptools
- python - protobuf {{ protobufversion }}
- mosquitto run:
- paho-mqtt - python
- {{ pin_compatible('protobuf', max_pin='x.x') }} - mosquitto
- paho-mqtt
\ No newline at end of file - protobuf {{ protobufversion }}
...@@ -3,10 +3,10 @@ cmake_minimum_required (VERSION 2.6) ...@@ -3,10 +3,10 @@ cmake_minimum_required (VERSION 2.6)
# project name # project name
project (ipaaca_cpp) project (ipaaca_cpp)
set (CMAKE_CXX_STANDARD 11) #set (CMAKE_CXX_STANDARD 11)
## use C++11 (starting with proto v2 / ipaaca-c++ release 12) ## use C++11 (starting with proto v2 / ipaaca-c++ release 12)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
## use the following line to enable console debug messages in ipaaca ## use the following line to enable console debug messages in ipaaca
## (this entails a slight slowdown since dynamic log level checks made at the very least) ## (this entails a slight slowdown since dynamic log level checks made at the very least)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DIPAACA_DEBUG_MESSAGES") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DIPAACA_DEBUG_MESSAGES")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment