Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added seperate method for CMake check in toolchain #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maxarfvidssonnilsson
Copy link

This adds an extra method to Toolchain that checks for CMake.

The "Install cmake on startup" pull-request to smce-gd relies on this to work properly.

Squashed a bunch of commits and removed a bunch of unrelated stuff just before making the pull-request. Is a hassle to test so I didn't bother. Should still work but if it doesn't you know why.

added method for cmake check

fixed bug

more testing

testing the test

testing the tests that havent been tested

plz

temp print for bug fixing

removed printouts.

changed default CMake path

changed default CMake path again.

Changed default CMake path once again

and another time...

attempted fix for find cmake method

fix so that cmake on path can be found
Copy link
Member

@AeroStun AeroStun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can already fix the obvious portability problem stemming from the the executable extension (.exe is only a thing on Windows & AIX; other platforms just have their CMake executable called plain cmake)

@AeroStun
Copy link
Member

AeroStun commented Jan 6, 2022

That aside, looks like a good stepping stone

@codecov
Copy link

codecov bot commented Jan 6, 2022

Codecov Report

Merging #55 (cf98026) into master (6dc10d6) will decrease coverage by 0.05%.
The diff coverage is 41.17%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
- Coverage   63.64%   63.58%   -0.06%     
==========================================
  Files          81       81              
  Lines        2968     2977       +9     
==========================================
+ Hits         1889     1893       +4     
- Misses       1079     1084       +5     
Impacted Files Coverage Δ
include/SMCE/Toolchain.hpp 66.66% <ø> (ø)
src/SMCE/Toolchain.cpp 66.29% <41.17%> (-1.15%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6dc10d6...cf98026. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants