-
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
12 changed files
with
596 additions
and
15 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
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,41 @@ | ||
# 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) | ||
|
||
SET(DOKANY_DIR "C:\\Program Files\\Dokan\\Dokan Library-1.3.0") | ||
|
||
# find includes | ||
FIND_PATH (FUSE_INCLUDE_DIR fuse.h | ||
/usr/local/include/osxfuse | ||
/usr/local/include | ||
/usr/include | ||
"${DOKANY_DIR}\\include" | ||
) | ||
|
||
# find lib | ||
if(APPLE) | ||
SET(FUSE_NAMES libosxfuse.dylib fuse) | ||
elseif (WIN32) | ||
SET(FUSE_NAMES dokanfuse1) | ||
else() | ||
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 "${DOKANY_DIR}\\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
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 cascfs_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.