From a078855edd682fd072ea7c60a8ae220c040dee2e Mon Sep 17 00:00:00 2001 From: Xavier Mitault Date: Wed, 1 Nov 2023 10:41:14 +0000 Subject: [PATCH] ECS: Cmake try --- libs/B-luga/CMakeLists.txt | 4 ++-- scripts/test-all.ps1 | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/B-luga/CMakeLists.txt b/libs/B-luga/CMakeLists.txt index 63ee7a0..f93d774 100644 --- a/libs/B-luga/CMakeLists.txt +++ b/libs/B-luga/CMakeLists.txt @@ -2,12 +2,13 @@ cmake_minimum_required(VERSION 3.20) set(PROJECT_NAME "b-luga") +set(CMAKE_CXX_STANDARD 20) + project( ${PROJECT_NAME} VERSION 1.0.0 LANGUAGES CXX DESCRIPTION "ECS made for R-Type epitech project" - CXX_STANDARD 20 ) add_library(${PROJECT_NAME} STATIC) @@ -40,7 +41,6 @@ target_sources( ) target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_20) -target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_20) include(CMakePackageConfigHelpers) diff --git a/scripts/test-all.ps1 b/scripts/test-all.ps1 index c7c02c7..45822e7 100644 --- a/scripts/test-all.ps1 +++ b/scripts/test-all.ps1 @@ -33,9 +33,9 @@ echo "-----------------------------------------------------------------------" echo "-----------------------------------------------------------------------" ./scripts/test.ps1 ls -ls ./test/build/ -ls ./test/build/Debug -ls ./test/build/Release +ls ./build/ +ls ./build/Debug +ls ./build/Release echo "-----------------------------------------------------------------------" echo "-------------------------- CD .. --------------------------------------"