The following issue has been SUBMITTED. 
====================================================================== 
http://cmake.org/Bug/view.php?id=13200 
====================================================================== 
Reported By:                Mathieu Malaterre
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13200
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-05-08 10:40 EDT
Last Modified:              2012-05-08 10:40 EDT
====================================================================== 
Summary:                    CMakeFiles/lib2.dir/build.make:82: *** missing
separator
Description: 
Steps to reproduce:

$ echo "int bla() { return foo();}" > bla.c
$ cat CMakeLists.txt

cmake_minimum_required(VERSION 2.8)
project(test2 C)

SET(LIB_PROPERTIES
  VERSION "1.0"
  SOVERSION "1"
)

add_library(lib2 SHARED bla.c)
set_property(TARGET lib2 PROPERTY ${LIB_PROPERTIES})

then simply run cmake && make

It would be nice if cmake would trigger a warning on the improper syntax:


set_property(TARGET lib2 PROPERTY ${LIB_PROPERTIES})


Thanks
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-05-08 10:40 Mathieu MalaterreNew Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to