cmakefbc  1.0.4
CMake support for FreeBASIC programming language
cmakefbc Documentation

Welcome to project cmakefbc, an extension for the CMake build management system to support the FreeBASIC (FB) programming language. Find further information on that components at the following links

The package is hosted at GitHub and it includes

  • CMake extension macros, in order to
    • check for the FB compiler and its version,
    • test the compiler,
    • declare internal CMake language variables (CMAKE_Fbc_...),
    • declare a macro to scan dependencies in FB source code, and
    • declare a function to pre-compile FB source to C source.
  • the tool cmakefbc_deps to
    • scan the dependency files in FB source trees and
    • integrate them in to a projects build tree.
  • a CMake script and a macro for the tool fbdoc to
    • find the executable and
    • use it to build the documentation with the Doxygen generator

Find the online documentation at


GPLv3: Copyright (C) 2014-2023, Thomas{ doT ]Freiherr[ At ]gmx[ DoT }net

This bundle is free software; you can redistribute the sources and/or modify them under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

The programs are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110- 1301, USA. Or refer to