This commit is contained in:
Thomas Kunze 2019-12-21 17:48:54 +01:00
commit e788047213
2 changed files with 4 additions and 3 deletions

View File

@ -25,6 +25,7 @@
install:
script:
- echo "building knx-linux"
- cd examples/knx-linux
- mkdir -p build
- cd build

View File

@ -2,7 +2,7 @@
#Note: VisualGDB will automatically update this file when you add new sources to the project.
cmake_minimum_required(VERSION 2.7)
#project(knx)
project(knx)
add_subdirectory(pybind11)
@ -41,6 +41,6 @@ pybind11_add_module(knx
src/knx/dpt.cpp)
include_directories(src pybind11/include)
set(outdir ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
set_target_properties(knx PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${outdir})
#set(outdir ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
#set_target_properties(knx PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${outdir})
set_target_properties(knx PROPERTIES OUTPUT_NAME knx)