-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
2 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
"pip": [] | ||
}, | ||
"script": [ | ||
"cargo build --release", | ||
"mkdir -p release", | ||
"cd release; cmake ..; make" | ||
], | ||
|