Skip to content

Commit

Permalink
update inotify build
Browse files Browse the repository at this point in the history
  • Loading branch information
iamhyc committed Aug 7, 2021
1 parent d3fe80f commit 3367dcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
15 changes: 1 addition & 14 deletions inotify-lookup/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
cmake_minimum_required(VERSION 3.10) #for FindPython feature
cmake_minimum_required(VERSION 3.0.0)
##
project(vdm-inotify-lookup VERSION 0.2.0)
# set(INSTALL_DIRECTORY "vdm/capability")

## build kernel module of inotify capability
add_subdirectory("inotify-hook")

include(ExternalProject)
ExternalProject_Add(
inotify-lookup
SOURCE_DIR ${PROJECT_SOURCE_DIR}
CONFIGURE_COMMAND ""
BUILD_IN_SOURCE true
BUILD_ALWAYS false
BUILD_COMMAND cargo build --release
INSTALL_COMMAND ""
TEST_COMMAND "" #cargo test
LOG_BUILD ON)
1 change: 1 addition & 0 deletions inotify-lookup/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"pip": []
},
"script": [
"cargo build --release",
"mkdir -p release",
"cd release; cmake ..; make"
],
Expand Down

0 comments on commit 3367dcb

Please sign in to comment.