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

#685 Add debug details for cmake version detection #690

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/cmake/cmake-executable.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import * as logging from '../logging';
import * as proc from '../proc';
import * as util from '../util';

const log = logging.createLogger('cmake-executable');

export interface CMakeExecutable {
path: string;
isPresent: boolean;
Expand All @@ -19,6 +22,7 @@ export async function getCMakeExecutableInformation(path: string): Promise<CMake
if (path.length != 0) {
try {
const version_ex = await proc.execute(path, ['--version']).result;
log.debug('CMake-Process Result: ', JSON.stringify(version_ex));
if (version_ex.retc === 0 && version_ex.stdout) {
cmake.isPresent = true;

Expand Down