Skip to content

Commit 74c5645

Browse files
committed
Initial commit
0 parents  commit 74c5645

File tree

4 files changed

+75
-0
lines changed

4 files changed

+75
-0
lines changed

Diff for: .gitignore

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Prerequisites
2+
*.d
3+
4+
# Object files
5+
*.o
6+
*.ko
7+
*.obj
8+
*.elf
9+
10+
# Linker output
11+
*.ilk
12+
*.map
13+
*.exp
14+
15+
# Precompiled Headers
16+
*.gch
17+
*.pch
18+
19+
# Libraries
20+
*.lib
21+
*.a
22+
*.la
23+
*.lo
24+
25+
# Shared objects (inc. Windows DLLs)
26+
*.dll
27+
*.so
28+
*.so.*
29+
*.dylib
30+
31+
# Executables
32+
*.exe
33+
*.out
34+
*.app
35+
*.i*86
36+
*.x86_64
37+
*.hex
38+
39+
# Debug files
40+
*.dSYM/
41+
*.su
42+
*.idb
43+
*.pdb
44+
45+
# Kernel Module Compile Results
46+
*.mod*
47+
*.cmd
48+
.tmp_versions/
49+
modules.order
50+
Module.symvers
51+
Mkfile.old
52+
dkms.conf
53+
54+
.idea/
55+
56+
cmake-build-debug/

Diff for: CMakeLists.txt

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
cmake_minimum_required(VERSION 3.23)
2+
project(sharedCaesar)
3+
4+
set(CMAKE_CXX_STANDARD 14)
5+
6+
add_library(sharedCaesar SHARED library.cpp)

Diff for: library.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#include "library.h"
2+
3+
#include <iostream>
4+
5+
void hello() {
6+
std::cout << "Hello, World!" << std::endl;
7+
}

Diff for: library.h

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#ifndef SHAREDCAESAR_LIBRARY_H
2+
#define SHAREDCAESAR_LIBRARY_H
3+
4+
void hello();
5+
6+
#endif //SHAREDCAESAR_LIBRARY_H

0 commit comments

Comments
 (0)