From b8c8d7bc58d30dbf7382536ca497b26673cab297 Mon Sep 17 00:00:00 2001 From: FactorialN Date: Sun, 15 Oct 2023 13:49:54 -0700 Subject: [PATCH] first commit --- .gitignore | 4 ++++ CMakeLists.txt | 19 +++++++++++++++++ README.md | 3 +++ cmake_install.cmake | 49 ++++++++++++++++++++++++++++++++++++++++++++ fischl | Bin 0 -> 33528 bytes include/fischl.h | 7 +++++++ lib/fischl.cpp | 7 +++++++ lib/main.cpp | 7 +++++++ 8 files changed, 96 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt create mode 100644 README.md create mode 100644 cmake_install.cmake create mode 100755 fischl create mode 100644 include/fischl.h create mode 100644 lib/fischl.cpp create mode 100644 lib/main.cpp 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 0000000000000000000000000000000000000000..3629ed38ffa9e257320aedf097b7c0bf4726c5ad GIT binary patch literal 33528 zcmeI5T})h65XWbCp@l$TMJ3kObZbmQZ3DFuf-%7h1*IPW0;Jgxlf&0iF77UsUD{F* zE;Uu#nj#eg57ihyVo5Y=?E_6T5UG9Wi$Sp(V;g)@WBo|u7fn{2IeQoGZljGc@##Ow z+;e8;oH=uT_q?8aKfeCMpV>q%VsW$PvDT##9ia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Umtzyi(l4i GTz>(1lX<5A literal 0 HcmV?d00001 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