diff --git a/.gitignore b/.gitignore index a9ddaf8..07ed706 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1 @@ -Makefile -/CMakeFiles -CMakeCache.txt -cmake_install.cmake -fischl -/test/CMakeFiles -/test/cmake_install.cmake -/test/CMakeCache.txt -/test/Makefile -run_tests \ No newline at end of file +build/* \ No newline at end of file diff --git a/CTestTestfile.cmake b/CTestTestfile.cmake deleted file mode 100644 index 76de908..0000000 --- a/CTestTestfile.cmake +++ /dev/null @@ -1,7 +0,0 @@ -# CMake generated Testfile for -# Source directory: /Users/factorialn/Projects/iloveos -# Build directory: /Users/factorialn/Projects/iloveos -# -# This file includes the relevant testing commands required for -# testing this directory and lists subdirectories to be tested as well. -subdirs("test") diff --git a/README.md b/README.md index 2c3167e..ddcbbad 100644 --- a/README.md +++ b/README.md @@ -7,4 +7,19 @@ Simply copying libfuse. 1. Fork the main branch and work on your own branch. 2. Test before initiating a Pull Request. -3. Get approved to get merged. \ No newline at end of file +3. Get approved to get merged. + +# Quick Start + +## configure and build code +make build directory +```bash +mkdir -p build && cd build +cmake .. +make # cmake --build . is same +``` + +## run test +```bash +./build/test/runtests +``` \ No newline at end of file diff --git a/cmake_install.cmake b/cmake_install.cmake deleted file mode 100644 index e16ca35..0000000 --- a/cmake_install.cmake +++ /dev/null @@ -1,55 +0,0 @@ -# Install script for directory: /Users/factorialn/Projects/iloveos - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "FALSE") -endif() - -# Set default install directory permissions. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/Library/Developer/CommandLineTools/usr/bin/objdump") -endif() - -if(NOT CMAKE_INSTALL_LOCAL_ONLY) - # Include the install script for each subdirectory. - include("/Users/factorialn/Projects/iloveos/test/cmake_install.cmake") - -endif() - -if(CMAKE_INSTALL_COMPONENT) - set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") -else() - set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -file(WRITE "/Users/factorialn/Projects/iloveos/${CMAKE_INSTALL_MANIFEST}" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/fischl b/fischl deleted file mode 100755 index 4604740..0000000 Binary files a/fischl and /dev/null differ diff --git a/test/CTestTestfile.cmake b/test/CTestTestfile.cmake deleted file mode 100644 index de1478e..0000000 --- a/test/CTestTestfile.cmake +++ /dev/null @@ -1,6 +0,0 @@ -# CMake generated Testfile for -# Source directory: /Users/factorialn/Projects/iloveos/test -# Build directory: /Users/factorialn/Projects/iloveos/test -# -# This file includes the relevant testing commands required for -# testing this directory and lists subdirectories to be tested as well.