-
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
10 changed files
with
536 additions
and
12 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
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Find the FUSE includes and library | ||
# | ||
# FUSE_INCLUDE_DIR - where to find fuse.h, etc. | ||
# FUSE_LIBRARIES - List of libraries when using FUSE. | ||
# FUSE_FOUND - True if FUSE lib is found. | ||
|
||
# check if already in cache, be silent | ||
IF (FUSE_INCLUDE_DIR) | ||
SET (FUSE_FIND_QUIETLY TRUE) | ||
ENDIF (FUSE_INCLUDE_DIR) | ||
|
||
# find includes | ||
FIND_PATH (FUSE_INCLUDE_DIR fuse.h | ||
/usr/local/include/osxfuse | ||
/usr/local/include | ||
/usr/include | ||
) | ||
|
||
# find lib | ||
if (APPLE) | ||
SET(FUSE_NAMES libosxfuse.dylib fuse) | ||
else (APPLE) | ||
SET(FUSE_NAMES fuse) | ||
endif (APPLE) | ||
FIND_LIBRARY(FUSE_LIBRARIES | ||
NAMES ${FUSE_NAMES} | ||
PATHS /lib64 /lib /usr/lib64 /usr/lib /usr/local/lib64 /usr/local/lib | ||
) | ||
|
||
include (FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args ("FUSE" DEFAULT_MSG | ||
FUSE_INCLUDE_DIR FUSE_LIBRARIES) | ||
|
||
mark_as_advanced (FUSE_INCLUDE_DIR FUSE_LIBRARIES) | ||
|
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#pragma once | ||
|
||
#include "storage.hpp" | ||
|
||
int cascf_mount(const std::string& mountPoint, HANDLE hStorage); |
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
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
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
Oops, something went wrong.