visualboyadvance-m/cmake
Rafael Kitover ba9c10d566
cmake: Make FileIterator more correct, add eg..
Add macro fi_check_done() to set fi_done if leftover contents is empty,
use it in both fi_open_file() and fi_get_next_line().

This fixes the behavior when the opened file is empty and makes the code
cleaner.

Add a usage example to top comment.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2020-01-26 23:35:09 +00:00
..
Architecture.cmake cmake: Release automation followup. 2019-12-25 23:14:45 +00:00
CMakeASM_NASMInformation.cmake cmake: remove <INCLUDES> from nasm definition 2019-02-22 15:11:01 +00:00
CMakeDetermineASM_NASMCompiler.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
CMakeTestASM_NASMCompiler.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
ChangeLogVersion.cmake cmake: fix reading version from changelog 2019-10-05 20:32:46 +00:00
FileIterator.cmake cmake: Make FileIterator more correct, add eg.. 2020-01-26 23:35:09 +00:00
FindDirectX.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
FindFFmpeg.cmake cmake: Fix ffmpeg regression on Windows. 2020-01-23 01:49:44 +00:00
FindGettext.cmake update translations, add new langs from transifex 2018-08-11 16:18:15 -07:00
FindOpenAL.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
FindSDL2.cmake cmake: Visual Studio support improvements. 2019-12-10 11:13:58 +00:00
FindSFML.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
FindSSP.cmake cmake: refactor FindSSP.cmake 2019-02-16 13:04:43 -08:00
GetGitRevisionDescription.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
GetGitRevisionDescription.cmake.in rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
GitTagVersion.cmake add mac release builder script 2017-10-12 01:32:18 -07:00
HostCompile.cmake cmake: fix linking to libssp and linking bin2c 2019-10-17 21:53:15 +00:00
LLVMToolchain.cmake support FreeBSD 2019-04-25 16:22:07 +00:00
MacPackageManagers.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
MakeReleaseCommitAndTag.cmake cmake: Followup on release commit automation. 2020-01-22 18:15:21 +00:00
PathRun.cmake cmake: Silence cmake policy warning CMP0058. 2019-10-05 18:33:44 -07:00
Set-Toolchain-vcpkg.cmake cmake: Automate release commit and tag. 2020-01-22 03:14:26 +00:00
Toolchain-cross-MinGW-w64-i686.cmake cmake: support linuxbrew mingw toolchain 2018-11-11 19:33:55 -08:00
Toolchain-cross-MinGW-w64-x86_64.cmake cmake: support linuxbrew mingw toolchain 2018-11-11 19:33:55 -08:00
Toolchain-cross-m32.cmake cmake: fix finding 32 bit wxWidgets on gentoo 2019-02-22 08:50:04 -08:00
UseGCCBinUtilsWrappers.cmake work around gcc lto wrappers bug with gcc 7.x 2017-09-16 19:47:39 -07:00
VbamFunctions.cmake cmake: missing space in wx util function 2019-04-25 23:51:40 +00:00