[cmake-developers] [CMake 0013324]: Segfault with Swig CPLUSPLUS ON
Mantis Bug Tracker
mantis at public.kitware.com
Wed Jun 20 09:44:23 EDT 2012
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=13324
======================================================================
Reported By: jeromerobert
Assigned To:
======================================================================
Project: CMake
Issue ID: 13324
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-06-20 09:44 EDT
Last Modified: 2012-06-20 09:44 EDT
======================================================================
Summary: Segfault with Swig CPLUSPLUS ON
Description:
How to reproduce:
$ cat > CMakeLists.txt
project (Foo C)
cmake_minimum_required(VERSION 2.8)
find_package(SWIG REQUIRED)
include(${SWIG_USE_FILE})
set_source_files_properties(foo.i PROPERTIES CPLUSPLUS ON)
swig_add_module(foo python foo.i)
$ touch foo.i
$ cmake .
-- Configuring done
Segmentation fault
Expected result:
A error message saying that it's wrong to enable the CPLUSPLUS property on a C
only project.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-06-20 09:44 jeromerobert New Issue
======================================================================
More information about the cmake-developers
mailing list