Skip to content

Commit

Permalink
ECS: Cmake try
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Nov 1, 2023
1 parent 05e2d66 commit a078855
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions libs/B-luga/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)

Expand Down
6 changes: 3 additions & 3 deletions scripts/test-all.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 .. --------------------------------------"
Expand Down

0 comments on commit a078855

Please sign in to comment.