From 87a65f6913429b26e63fdee17cb8cfe93990db35 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 2 Jan 2018 17:38:18 +0100 Subject: Add support for cmake Not working fully yet, will investigate why --- include/Conf.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/Conf.hpp') diff --git a/include/Conf.hpp b/include/Conf.hpp index d3d80f9..764b3f9 100644 --- a/include/Conf.hpp +++ b/include/Conf.hpp @@ -160,10 +160,10 @@ namespace sibs switch(optimizationLevel) { case OPT_LEV_DEBUG: - cmakeArgsGlobal = "\"-DCMAKE_BUILD_TYPE=Debug\""; + cmakeArgsGlobal = "-G Ninja \"-DCMAKE_BUILD_TYPE=Debug\""; break; case OPT_LEV_RELEASE: - cmakeArgsGlobal = "\"-DCMAKE_BUILD_TYPE=Release\""; + cmakeArgsGlobal = "-G Ninja \"-DCMAKE_BUILD_TYPE=Release\""; break; } } -- cgit v1.2.3