git clone https://github.com/urho3d/Urho3D.git
cd Urho3D/
mkdir build.linux && cd build.linux/
cmake ..
make -j 4
I also tried:
../script/cmake_generic.sh .
in place of cmake ..
but got the same results.
I also tried:
make
(without the -j 4
) but got the same results.
Here is an example from make VERBOSE=1
:
[ 50%] Building CXX object Source/ThirdParty/Bullet/CMakeFiles/Bullet.dir/src/BulletDynamics/Dynamics/btRigidBody.cpp.o
cd /home/nick/Urho3D/build.linux/Source/ThirdParty/Bullet && /usr/bin/c++ -DURHO3D_ANGELSCRIPT -DURHO3D_FILEWATCHER -DURHO3D_IK -DURHO3D_LOGGING -DURHO3D_LUA -DURHO3D_NAVIGATION -DURHO3D_NETWORK -DURHO3D_PHYSICS -DURHO3D_PROFILING -DURHO3D_STATIC_DEFINE -DURHO3D_THREADING -DURHO3D_URHO2D -DURHO3D_WEBP -I/home/nick/Urho3D/Source/ThirdParty/Bullet/src -mtune=generic -Wno-invalid-offsetof -march=native -msse3 -pthread -fdiagnostics-color=auto -O3 -DNDEBUG -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/Bullet.dir/src/BulletDynamics/Dynamics/btRigidBody.cpp.o -c /home/nick/Urho3D/Source/ThirdParty/Bullet/src/BulletDynamics/Dynamics/btRigidBody.cpp
and later:
/usr/bin/ranlib libBullet.a
I am seeing -DURHO3D_PHYSICS
all over the place.