commit b8c8d7bc58d30dbf7382536ca497b26673cab297 Author: FactorialN Date: Sun Oct 15 13:49:54 2023 -0700 first commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eda81bf --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +Makefile +/CMakeFiles +CMakeCache.txt +cmake_install_cmake \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..b845f83 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,19 @@ +cmake_minimum_required (VERSION 3.1.0) +project(fischl) + +set(CMAKE_CXX_STANDARD 14) + +include_directories( + # fischl include files + ${CMAKE_CURRENT_SOURCE_DIR}/include +) + +add_executable(fischl + + # Header files + + include/fischl.h + lib/fischl.cpp + lib/main.cpp + +) diff --git a/README.md b/README.md new file mode 100644 index 0000000..3b2ae6b --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# iloveos + +Simply copying libfuse. \ No newline at end of file diff --git a/cmake_install.cmake b/cmake_install.cmake new file mode 100644 index 0000000..c2b2fc6 --- /dev/null +++ b/cmake_install.cmake @@ -0,0 +1,49 @@ +# 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(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 new file mode 100755 index 0000000..3629ed3 Binary files /dev/null and b/fischl differ diff --git a/include/fischl.h b/include/fischl.h new file mode 100644 index 0000000..2110f2b --- /dev/null +++ b/include/fischl.h @@ -0,0 +1,7 @@ +class fischl{ + + // declare + public: + void init(); + +}; \ No newline at end of file diff --git a/lib/fischl.cpp b/lib/fischl.cpp new file mode 100644 index 0000000..416fd39 --- /dev/null +++ b/lib/fischl.cpp @@ -0,0 +1,7 @@ +#include "fischl.h" + +#include + +void fischl::init(){ + printf("Hello Fischl!"); +} \ No newline at end of file diff --git a/lib/main.cpp b/lib/main.cpp new file mode 100644 index 0000000..ec68051 --- /dev/null +++ b/lib/main.cpp @@ -0,0 +1,7 @@ +#include "fischl.h" + +int main(){ + fischl *F = new fischl; + F->init(); + return 0; +} \ No newline at end of file