sokol: minor fix
This commit is contained in:
		@@ -495,12 +495,6 @@ target_compile_definitions(tic80prolib PRIVATE TIC80_PRO)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
set(TIC80_OUTPUTS ${TIC80_OUTPUTS} tic80-sokol tic80pro-sokol)
 | 
					set(TIC80_OUTPUTS ${TIC80_OUTPUTS} tic80-sokol tic80pro-sokol)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if(APPLE)
 | 
					 | 
				
			||||||
	set(TIC80_SRC_COMMON ${TIC80_SRC_COMMON} src/ext/file_dialog.m)
 | 
					 | 
				
			||||||
else()
 | 
					 | 
				
			||||||
	set(TIC80_SRC_COMMON ${TIC80_SRC_COMMON} src/ext/file_dialog.c)
 | 
					 | 
				
			||||||
endif()
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
foreach(TIC80_OUTPUT ${TIC80_OUTPUTS})
 | 
					foreach(TIC80_OUTPUT ${TIC80_OUTPUTS})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if(TIC80_OUTPUT MATCHES "-sokol")
 | 
						if(TIC80_OUTPUT MATCHES "-sokol")
 | 
				
			||||||
@@ -509,9 +503,11 @@ foreach(TIC80_OUTPUT ${TIC80_OUTPUTS})
 | 
				
			|||||||
		set(SOKOL_RENDERER FALSE)
 | 
							set(SOKOL_RENDERER FALSE)
 | 
				
			||||||
	endif()
 | 
						endif()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	message("SOKOL_RENDERER ${SOKOL_RENDERER}")
 | 
						set(TIC80_SRC src/ext/file_dialog.c)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	set(TIC80_SRC ${TIC80_SRC_COMMON})
 | 
						if(APPLE)
 | 
				
			||||||
 | 
							set(TIC80_SRC ${TIC80_SRC} src/ext/file_dialog.m)
 | 
				
			||||||
 | 
						endif()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if(SOKOL_RENDERER)
 | 
						if(SOKOL_RENDERER)
 | 
				
			||||||
		set(TIC80_SRC ${TIC80_SRC} src/system/sokol.c)
 | 
							set(TIC80_SRC ${TIC80_SRC} src/system/sokol.c)
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										30
									
								
								build/macosx/tic80-sokol.plist
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								build/macosx/tic80-sokol.plist
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 | 
				
			||||||
 | 
					<plist version="1.0">
 | 
				
			||||||
 | 
					<dict>
 | 
				
			||||||
 | 
					  <key>CFBundleDevelopmentRegion</key>
 | 
				
			||||||
 | 
					  <string>en</string>
 | 
				
			||||||
 | 
					  <key>CFBundleDisplayName</key>
 | 
				
			||||||
 | 
					  <string>TIC-80 Sokol</string>
 | 
				
			||||||
 | 
					  <key>CFBundleExecutable</key>
 | 
				
			||||||
 | 
					  <string>tic80-sokol</string>
 | 
				
			||||||
 | 
					  <key>CFBundleIconFile</key>
 | 
				
			||||||
 | 
					  <string>tic80.icns</string>
 | 
				
			||||||
 | 
					  <key>CFBundleIdentifier</key>
 | 
				
			||||||
 | 
					  <string>com.nesbox.tic</string>
 | 
				
			||||||
 | 
					  <key>CFBundleInfoDictionaryVersion</key>
 | 
				
			||||||
 | 
					  <string>6.0</string>
 | 
				
			||||||
 | 
					  <key>CFBundleName</key>
 | 
				
			||||||
 | 
					  <string>TIC-80 Sokol</string>
 | 
				
			||||||
 | 
					  <key>CFBundlePackageType</key>
 | 
				
			||||||
 | 
					  <string>APPL</string>
 | 
				
			||||||
 | 
					  <key>CFBundleShortVersionString</key>
 | 
				
			||||||
 | 
					  <string>0.70.6</string>
 | 
				
			||||||
 | 
					  <key>CFBundleVersion</key>
 | 
				
			||||||
 | 
					  <string>0.70.6</string>
 | 
				
			||||||
 | 
					  <key>NSHumanReadableCopyright</key>
 | 
				
			||||||
 | 
					  <string>http://tic.computer © 2017</string>
 | 
				
			||||||
 | 
					  <key>NSHighResolutionCapable</key>
 | 
				
			||||||
 | 
					  <true/>
 | 
				
			||||||
 | 
					</dict>
 | 
				
			||||||
 | 
					</plist>
 | 
				
			||||||
							
								
								
									
										30
									
								
								build/macosx/tic80pro-sokol.plist
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								build/macosx/tic80pro-sokol.plist
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 | 
				
			||||||
 | 
					<plist version="1.0">
 | 
				
			||||||
 | 
					<dict>
 | 
				
			||||||
 | 
					  <key>CFBundleDevelopmentRegion</key>
 | 
				
			||||||
 | 
					  <string>en</string>
 | 
				
			||||||
 | 
					  <key>CFBundleDisplayName</key>
 | 
				
			||||||
 | 
					  <string>TIC-80 Pro Sokol</string>
 | 
				
			||||||
 | 
					  <key>CFBundleExecutable</key>
 | 
				
			||||||
 | 
					  <string>tic80pro-sokol</string>
 | 
				
			||||||
 | 
					  <key>CFBundleIconFile</key>
 | 
				
			||||||
 | 
					  <string>tic80.icns</string>
 | 
				
			||||||
 | 
					  <key>CFBundleIdentifier</key>
 | 
				
			||||||
 | 
					  <string>com.nesbox.tic</string>
 | 
				
			||||||
 | 
					  <key>CFBundleInfoDictionaryVersion</key>
 | 
				
			||||||
 | 
					  <string>6.0</string>
 | 
				
			||||||
 | 
					  <key>CFBundleName</key>
 | 
				
			||||||
 | 
					  <string>TIC-80 Pro Sokol</string>
 | 
				
			||||||
 | 
					  <key>CFBundlePackageType</key>
 | 
				
			||||||
 | 
					  <string>APPL</string>
 | 
				
			||||||
 | 
					  <key>CFBundleShortVersionString</key>
 | 
				
			||||||
 | 
					  <string>0.70.6</string>
 | 
				
			||||||
 | 
					  <key>CFBundleVersion</key>
 | 
				
			||||||
 | 
					  <string>0.70.6</string>
 | 
				
			||||||
 | 
					  <key>NSHumanReadableCopyright</key>
 | 
				
			||||||
 | 
					  <string>http://tic.computer © 2017</string>
 | 
				
			||||||
 | 
					  <key>NSHighResolutionCapable</key>
 | 
				
			||||||
 | 
					  <true/>
 | 
				
			||||||
 | 
					</dict>
 | 
				
			||||||
 | 
					</plist>
 | 
				
			||||||
		Reference in New Issue
	
	Block a user