From ros-users-bounces@lists.ros.org Tue Nov 8 03:55:08 2016 Return-Path: X-Original-To: ros-lurker@osuosl.org Delivered-To: ros-lurker@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id AA84E1C1514; Tue, 8 Nov 2016 03:55:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 45A698BE12; Tue, 8 Nov 2016 03:55:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -1.525 X-Spam-Level: X-Spam-Status: No, score=-1.525 required=5 tests=[DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_SOFTFAIL=0.665, T_DKIM_INVALID=0.01] autolearn=unavailable Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uqZh1SRWOx5w; Tue, 8 Nov 2016 03:55:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 6E2248BD50; Tue, 8 Nov 2016 03:55:05 +0000 (UTC) X-Original-To: ros-users@lists.ros.org Delivered-To: ros-users@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6E63C1C1514 for ; Tue, 8 Nov 2016 03:55:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 69753C0D88 for ; Tue, 8 Nov 2016 03:55:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LrQQebP_N85d for ; Tue, 8 Nov 2016 03:55:03 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f182.google.com (mail-pf0-f182.google.com [209.85.192.182]) by fraxinus.osuosl.org (Postfix) with ESMTPS id C3BB688ABE for ; Tue, 8 Nov 2016 03:55:03 +0000 (UTC) Received: by mail-pf0-f182.google.com with SMTP id n85so100352891pfi.1 for ; Mon, 07 Nov 2016 19:55:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:content-transfer-encoding:subject:reply-to:message-id :references:date:from:to; bh=JjZE1t13Afq/V9t/OOoo08pZFfcxk72Z61rYUYb7Uf8=; b=G5+O6M6qvNp6+WwdvZICFTzg8gwPOQDuoWL9P/O1L3eHR0qF/7xzTqx7rAaCME6SCu o0x3JY0kclH+LVLbohKyUpRo5aG1aOlH26K64sOSG1RKkQ3YIAiJ7m9V7xC0hK9l5XP1 k4MHHI4QcFFjFs4CREF0UYgNR1OzEX1y+/RxW5ZUPO+8mmlz4SBLdgeAJ2tDuEBvKZcQ mddpysSSXOEUw2fLYbp44zwj2PboopTJV9d1i5v/YcoxFfNe78mRVgJlfvg837PxoL6A 7IB3rxdg25RjakBK5iI0pucHvIvT0M1m3eJ5Xkh4suNpHS4OLRCR1/xn6Gje7mEc2nbu fayQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:content-transfer-encoding:subject :reply-to:message-id:references:date:from:to; bh=JjZE1t13Afq/V9t/OOoo08pZFfcxk72Z61rYUYb7Uf8=; b=BwZKms/Pjlitjuu3v7s8vPfh4DiApA4WXUO2VHr4xlNLAVB85x3MzjwC7HMyWcDRy2 OQRSPQeThp1bGYMGLEgbPuLpZJw5vfD23rEEUmcOtv2SWMTM9wo6bO5EoH/ElgLs+UQv XXimbtranl9L/sUcMHwTcxXjm+/pPIur1hcjMja6h0MLYVHvhI7Ot8Xi6ZKJNrziea8b FBTgqAKymtilus19HcLRGeCsjiDQwDs8jeIVkPsFUuc2u5Sj2czXd0DtAITBDAL6YP4a CjcMlVb2pSg2mlIMQo4STh+7R84U5Oh/EAeBgadxAi9O0aqHzhEpgxsE1eBfHFTby03e 3UVQ== X-Gm-Message-State: ABUngvdLioyqnxMXzO4km+1UKGP3p5ps9pFSDpG6MqNAOgtTOnyq2yWIWFCCLz2918tJGg== X-Received: by 10.98.59.82 with SMTP id i79mr19453971pfa.147.1478577303255; Mon, 07 Nov 2016 19:55:03 -0800 (PST) Received: from ros.osuosl.org (ros.osuosl.org. [140.211.9.4]) by smtp.gmail.com with ESMTPSA id 131sm43835348pfx.92.2016.11.07.19.55.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2016 19:55:03 -0800 (PST) MIME-Version: 1.0 Message-ID: References: Date: Tue, 08 Nov 2016 03:54:32 +0000 To: ros-users@lists.ros.org Subject: [ros-users] [Discourse.ros.org] [Next Generation ROS] Own message generator and building tests X-BeenThere: ros-users@lists.ros.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: dhood via ros-users Reply-To: "Discourse.ros.org" , dhood Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ros-users-bounces@lists.ros.org Sender: "ros-users" When you build with `--build-tests`, the `BUILD_TESTING` cmake option is set to true. >From looking at your project, I think you are only appending the target to the list of message targets if `BUILD_TESTING` is true: https://github.com/firesurfer/rosidl_generator_cs/blob/d1bcce9588b0b886355b087e80ae8f48ec976e80/cmake/rosidl_generator_cs_generate_interfaces.cmake#L30 That might explain why it's only failing when you build with `--build-testing` As for why it's failing, [the documentation for `add_custom_target`](https://cmake.org/cmake/help/v3.5/command/add_custom_target.html) says that `add_dependencies()` should be used instead of `DEPENDS` if you're looking to add a dependency on another target, which looks to be your case with `ros2cs_message_generator` - not sure if that helps --- [Visit Topic](http://discourse.ros.org/t/own-message-generator-and-building-tests/796/2) or reply to this email to respond. If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates. ______________________________________________________________________________ ros-users mailing list ros-users@lists.ros.org http://lists.ros.org/mailman/listinfo/ros-users Unsubscribe: