Skip to content

Commit 719c1b0

Browse files
committed
Add recommended gitignore to new projects and plugins by default
1 parent 7f5a81a commit 719c1b0

File tree

7 files changed

+52
-3
lines changed

7 files changed

+52
-3
lines changed

Framework/Renderer/GenericRenderer/GenericRenderer.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace UImGui
55
{
66
class RendererInternal;
77

8-
class GenericInternalRenderer
8+
class UIMGUI_PUBLIC_API GenericInternalRenderer
99
{
1010
public:
1111
GenericInternalRenderer() noexcept = default;

Framework/Renderer/GenericRenderer/GenericTexture.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace UImGui
88
typedef UImGui_TextureData TextureData;
99
typedef UImGui_TextureFormat TextureFormat;
1010

11-
class GenericTexture
11+
class UIMGUI_PUBLIC_API GenericTexture
1212
{
1313
public:
1414
typedef UImGui_Texture_CustomSaveFunction CustomSaveFunction;
-157 KB
Binary file not shown.

create-plugin.sh

+2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ project(${plugin_name})
7070
include(PluginDefaultsPostInst)
7171
" > CMakeLists.txt
7272

73+
cp ../../example.gitignore .gitignore
74+
7375
# Create symbolic links
7476
if [ "${windows}" == true ]; then
7577
cmd //c mklink //d .\\"${prjname}" ..\\"${prjname}" && return

create-project.sh

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ enabled-modules:
7979
fi
8080
ln -s "../../Framework/" Framework 2> /dev/null || cp -r ../../Framework .
8181
ln -s "../../UVKBuildTool/" UVKBuildTool 2> /dev/null || cp -r ../../UVKBuildTool .
82+
83+
cp ../../example.gitignore .gitignore
8284
}
8385

8486
function generate_files()

example.gitignore

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Prerequisites
2+
*.d
3+
4+
# Compiled Object files
5+
*.slo
6+
*.lo
7+
*.o
8+
*.obj
9+
10+
# Precompiled Headers
11+
*.gch
12+
*.pch
13+
14+
# Compiled Dynamic libraries
15+
*.so
16+
*.dylib
17+
*.dll
18+
19+
# Fortran module files
20+
*.mod
21+
*.smod
22+
23+
# Compiled Static libraries
24+
*.lai
25+
*.la
26+
*.a
27+
*.lib
28+
29+
# Executables
30+
*.exe
31+
*.out
32+
*.app
33+
34+
.vs/
35+
.idea/
36+
build/
37+
cmake-build-*/
38+
Framework
39+
UVKBuildTool
40+
Generated/
41+
export.sh
42+
CMakeLists.txt*
43+
Exported/
44+
.DS_Store
45+
*.aps

0 commit comments

Comments
 (0)