File tree 5 files changed +30
-55
lines changed
5 files changed +30
-55
lines changed Original file line number Diff line number Diff line change 1
- # Windows image file caches
2
- Thumbs.db
3
- ehthumbs.db
4
-
5
- # Folder config file
6
- Desktop.ini
7
-
8
- # Recycle Bin used on file shares
9
- $RECYCLE.BIN /
10
-
11
- # Windows Installer files
12
- * .cab
13
- * .msi
14
- * .msm
15
- * .msp
16
-
17
- # Windows shortcuts
18
- * .lnk
19
-
20
- # =========================
21
- # Operating System Files
22
- # =========================
23
-
24
- # OSX
25
- # =========================
26
-
27
- .DS_Store
28
- .AppleDouble
29
- .LSOverride
30
-
31
- # Thumbnails
32
- ._ *
33
-
34
- # Files that might appear in the root of a volume
35
- .DocumentRevisions-V100
36
- .fseventsd
37
- .Spotlight-V100
38
- .TemporaryItems
39
- .Trashes
40
- .VolumeIcon.icns
41
-
42
- # Directories potentially created on remote AFP share
43
- .AppleDB
44
- .AppleDesktop
45
- Network Trash Folder
46
- Temporary Items
47
- .apdisk
48
- * .exe
49
- * .dll
50
- NoCol.cbp
51
- * .depend
52
- NoCol.layout
53
- * .o
54
- bin /Release /blur.frag
55
- bin /Release /config
1
+ build /
Original file line number Diff line number Diff line change
1
+ cmake_minimum_required (VERSION 3.10)
2
+
3
+ set (PROJECT_NAME NoCol)
4
+ project (${PROJECT_NAME} VERSION 1.0.0 LANGUAGES CXX)
5
+
6
+ set (SFML_DIR "" CACHE PATH "SFML lib path" )
7
+ set (SFML_LIB_DIR "${SFML_DIR} /lib" )
8
+ set (SFML_INC_DIR "${SFML_DIR} /include" )
9
+
10
+ find_package (OpenGL)
11
+
12
+ set (SFML_LIBS "${SFML_LIB_DIR} /sfml-graphics-s.lib"
13
+ "${SFML_LIB_DIR} /sfml-window-s.lib"
14
+ "${SFML_LIB_DIR} /sfml-system-s.lib"
15
+ "${SFML_LIB_DIR} /freetype.lib"
16
+ "${OPENGL_LIBRARIES} "
17
+ "winmm.lib"
18
+ )
19
+
20
+ file (GLOB source_files
21
+ "src/*.cpp"
22
+ )
23
+
24
+ set (SOURCES ${source_files} )
25
+
26
+ add_executable (${PROJECT_NAME} ${SOURCES} )
27
+ add_definitions (-DSFML_STATIC)
28
+ target_include_directories (${PROJECT_NAME} PRIVATE "${SFML_INC_DIR} " "include" )
29
+ target_link_libraries (${PROJECT_NAME} ${SFML_LIBS} )
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments