added addon stubs
This commit is contained in:
parent
5eacc49a62
commit
739a6b7e06
12 changed files with 368 additions and 167 deletions
9
addons/yararules/CMakeLists.txt
Normal file
9
addons/yararules/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
cmake_minimum_required(VERSION 3.9)
|
||||
|
||||
project(yararules VERSION 1.0.0 DESCRIPTION "addon for tagging using yara rules")
|
||||
|
||||
add_library(yararules SHARED ${CMAKE_CURRENT_LIST_DIR}/yararules.cpp)
|
||||
set_target_properties(yararules PROPERTIES
|
||||
VERSION ${PROJECT_VERSION}
|
||||
SOVERSION 1)
|
||||
target_include_directories(yararules PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../include/)
|
||||
5
addons/yararules/yararules.cpp
Normal file
5
addons/yararules/yararules.cpp
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
extern "C" const char* get_name() {
|
||||
return "yararules";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue