logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

objfw-compile - compile simple projects using ObjFW

Description

objfw-compile is a program to compile simple projects using ObjFW.

Examples

       Compile a program with two source files:

            objfw-compile -o myprog MyProg.m SomeClass.m

       Compile a library with library version 1.0:

            objfw-compile --lib 1.0 -o mylib Class1.m Class2.m

Name

       objfw-compile - compile simple projects using ObjFW

Options

-ooutname
              Specify the output name (not the file name!).

       --arc  Use automatic reference counting.

       --libversion
              Compile a static library (with the specified version) instead of an application.

       --plugin
              Compile a plugin instead of an application.

       --packagename
              Use the specified package.

       --builddirdir
              Place built objects into the specified directory.

       -Ddefine, -Ddefine
              Pass the specified define to the compiler.

       -frameworkframework
              Pass the specified -framework argument to the linker (macOS / iOS only).

       -fflag Pass the specified -f flag to the compiler.

       -Fdir, -Fdir
              Pass the specified -F flag to the linker (macOS / iOS only).

       -gflag Pass the specified -g flag to the compiler.

       -Idir, -Idir
              Pass the specified -I flag to the compiler.

       -llib, -llib
              Pass the specified -l flag to the linker.

       -Ldir, -Ldir
              Pass the specified -L flag to the linker.

       -mflag Pass the specified -m flag to the compiler.

       -Olevel
              Pass the specified -O flag to the compiler.

       -pthread
              Pass -pthread to the compiler and linker.

       -std=lang
              Pass the specified -std= flag to the compiler.

       -Wl,flag
              Pass the specified -Wl, flag to the linker.

       -Wwarning
              Pass the specified -W flag to the compiler.

       --help Show the help.

See Also

objfw-config(1)

                                                                                                objfw-compile(1)

Synopsis

objfw-config [options] -ooutnamesources

See Also