You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.0 KiB
36 lines
1.0 KiB
|
|
##
|
|
## Compiler
|
|
##
|
|
|
|
CC = gcc ;
|
|
|
|
# GCC
|
|
#C++ = g++ ;
|
|
#LINK = g++ ;
|
|
|
|
# Clang
|
|
C++ = clang++ ;
|
|
LINK = clang++ ;
|
|
|
|
##
|
|
## Compiler arguments
|
|
##
|
|
|
|
# Galavant requires C++11
|
|
# fPIC = position independent code. This is so the lib can be linked in other libs/executables
|
|
# g = debug symbols
|
|
# lstdc++ = standard library
|
|
# -stdlib=lib++ = Unreal uses libc++, which is busted on Ubuntu 16.04. Remove this option
|
|
# if you don't give a shit about Unreal and/or want to build the tests
|
|
# Og = compile without optimizations for debugging
|
|
# -Wall -Wextra = Error detection/tolerance
|
|
#C++FLAGS = -std=c++11 -stdlib=libc++ -fPIC -g -Og -Wall -Wextra ; # Required arguments for Unreal
|
|
C++FLAGS = -std=c++11 -fPIC -g -Og -Wall -Wextra ; # Required arguments for tests
|
|
|
|
OBJECTC++FLAGS = -std=c++11 -lstdc++ -g -Og ;
|
|
|
|
HDRS = thirdParty/flatbuffers/include ;
|
|
|
|
# TODO: add project-specific filetype rules for things like flatbuffer .json compilation (see "UserObject rule":
|
|
# https://swarm.workshop.perforce.com/view/guest/perforce_software/jam/src/Jamfile.html ) ?
|