← Back to team overview

elementary-dev-community team mailing list archive

(no subject)

 

Date: Wed, 26 Feb 2014 00:57:17 -0003
From: Firgeis <firgeis@xxxxxxxxxxx>
Subject: CMake example file for debugging VALA source
To: elementary-dev-community@xxxxxxxxxxxxxxxxxxx
X-Mailer: geary/0.3.1
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-cCVqygUAdPN2mYSdASZ6"

--=-cCVqygUAdPN2mYSdASZ6
Content-Type: multipart/alternative; boundary="=-i5T8OaPqe66z0CpkKtHI"

--=-i5T8OaPqe66z0CpkKtHI
Content-Type: text/plain; charset=utf-8; format=flowed

Hello everyone,

This is my suggestion for a new CMake configuration file to be able to 
pass on to the precompiler (VALAC) the option of outputting debugging 
symbols so as to be able to debug the VALA source of elementary apps.

In this example file (taken from pantheon-print) I have added a DEBUG 
option in this regard (although it seems the make file included is 
intended only for debugging?).

--=-i5T8OaPqe66z0CpkKtHI
Content-Type: text/html; charset=utf-8

Hello everyone,<div><br></div><div>This is my suggestion for a new CMake configuration file to be able to pass on to the precompiler (VALAC) the option of outputting debugging symbols so as to be able to debug the VALA source of elementary apps.</div><div><br></div><div>In this example file (taken from pantheon-print) I have added a DEBUG option in this regard (although it seems the make file included is intended only for debugging?).</div>
--=-i5T8OaPqe66z0CpkKtHI--

--=-cCVqygUAdPN2mYSdASZ6
Content-Type: text/x-cmake
Content-Disposition: attachment; filename=CMakeLists.txt
Content-Transfer-Encoding: base64

IyBDaGVjayBodHRwOi8vd2ViZGV2LmVsZW1lbnRhcnlvcy5vcmcvZG9jcy9kZXZlbG9wZXItZ3Vp
ZGUvY21ha2UgZm9yIGRvY3VtZW50YXRpb24KCnByb2plY3QgKHByaW50KQpjbWFrZV9taW5pbXVt
X3JlcXVpcmVkIChWRVJTSU9OIDIuOCkKY21ha2VfcG9saWN5IChWRVJTSU9OIDIuNikKbGlzdCAo
QVBQRU5EIENNQUtFX01PRFVMRV9QQVRIICR7Q01BS0VfU09VUkNFX0RJUn0vY21ha2UpCgojI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FHRVMK
ICAgIGd0aystMy4wCk9QVElPTlMKICAgICR7VkFMQUNfT1BUSU9OU30KKQphZGRfZXhlY3V0YWJs
ZSAocGFudGhlb24tcHJpbnQgJHtWQUxBX0N9KQppbnN0YWxsKFRBUkdFVFMgcGFudGhlb24tcHJp
bnQgUlVOVElNRSBERVNUSU5BVElPTiBiaW4pCmluc3RhbGwgKEZJTEVTICR7Q01BS0VfQ1VSUkVO
VF9TT1VSQ0VfRElSfS9kYXRhL3ByaW50LmNvbnRyYWN0IERFU1RJTkFUSU9OIHNoYXJlL2NvbnRy
YWN0b3IpCg==

--=-cCVqygUAdPN2mYSdASZ6--

From: firgeis@xxxxxxxxxxx
Bcc:
Return-Path: firgeis@xxxxxxxxxxx
Message-ID: <BLU0-SMTP4173E1ioWw00005b6a@xxxxxxxxxxxxxxxxxxxx>
X-OriginalArrivalTime: 26 Feb 2014 01:00:30.0822 (UTC) FILETIME=[25383860:01CF328E]