Browse Source

More SFML stuff

master
Macoy Madson 8 months ago
parent
commit
a8fbccd6ff
2 changed files with 7 additions and 3 deletions
  1. +4
    -1
      BuildDependencies_Debug.sh
  2. +3
    -2
      Jamrules

+ 4
- 1
BuildDependencies_Debug.sh View File

@@ -6,7 +6,10 @@ echo "WARNING: This will run git clean -f on SFML"
cd dependencies/SFML
make clean
git clean -f
cmake . -DCMAKE_BUILD_TYPE=Debug
cmake . -DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -std=c++14 -stdlib=libstdc++" \
-DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libstdc++" \
-DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE -DCMAKE_VERBOSE_MAKEFILE=TRUE
make -j4

cd ../../


+ 3
- 2
Jamrules View File

@@ -44,7 +44,8 @@ LINK = clang++ ;
# lstdc++ = standard library [Unused]

# Arguments used on all projects, regardless of any variables
C++FLAGS = -std=c++11 -Wall -Wextra -Wno-unused-parameter -fPIC
C++FLAGS = -std=c++14 -stdlib=libstdc++ -fPIC
-Wall -Wextra -Wno-unused-parameter
# Why isn't this quoting properly?
# -D IMGUI_USER_CONFIG=\"dependencies/imgui-sfml/imconfig-SFML.h\"
;
@@ -61,7 +62,7 @@ dependencies/imgui
dependencies/imgui-sfml
;

LINKFLAGS =
LINKFLAGS = -stdlib=libstdc++
-Wl,-rpath,.:dependencies/SFML/lib
;



Loading…
Cancel
Save