Rename python renderer to plugin example and leave it be as a template

This commit is contained in:
2019-11-15 21:33:55 +01:00
parent efb1af7ee0
commit 3b6837b886
6 changed files with 28 additions and 11 deletions

View File

@@ -1,12 +0,0 @@
project(pythonrenderer)
cmake_minimum_required(VERSION 2.8)
find_package(PkgConfig REQUIRED)
pkg_search_module(PYTHON REQUIRED python3)
aux_source_directory(src SOURCES)
include_directories(${PYTHON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/include)
link_libraries(${PYTHON_LDFLAGS} version)
add_library(${PROJECT_NAME} SHARED EXCLUDE_FROM_ALL ${SOURCES})
add_dependencies(${PROJECT_NAME} version)

View File

@@ -1,7 +0,0 @@
#include <stdio.h>
#include <stdlib.h>
int a(void)
{
return 0;
}