gsplus/src/tfe/CMakeLists.txt
Kelvin Sherlock e37e50affe cmake support.
cmake generates makefiles (or ninja file, xcode projects, etc) which are then built with make, ninja, xcode, etc.

usage:

make build # don't build in the source tree itself
cd build
cmake ../src/

then

make as usual.

It should work with OS X, Linux, and Win32 (tested on Windows with msys2 / mingw64, IIRC, using the win32 driver).

"make bundle" will run the OS X bundle utility to bundle up libraries.
2018-12-13 20:53:58 -05:00

7 lines
128 B
CMake

set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_library(tfe tfe.c tfearch.c tfesupp.c)
target_compile_definitions(tfe PUBLIC HAVE_TFE)