The following issue has been SUBMITTED. 
====================================================================== 
http://www.gccxml.org/Bug/view.php?id=15044 
====================================================================== 
Reported By:                Ravi Raman
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15044
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2014-07-28 11:32 EDT
Last Modified:              2014-07-28 11:32 EDT
====================================================================== 
Summary:                    How to convert existing Visual Studio .targets file
to cmake
Description: 
Hello,

We are using CMake 3.0 on Windows. Our main objective is to convert Microsoft
Visual Studio built solution to CMake 3.0 solution.
In the process of doing so, we have come across many Visual Studio targets files
(files with extension .targets) which get included in the Visual Studio project
files (.vcxproj) files.

 For example in a Visual Studio project file , the targets file (test.targets)
gets included as follows:

<Import Project="test.targets" />

 To achieve the same thing, in the CMakeLists file we are using the following
command:

add_custom_targets() with the appropriate target name "test"

Please let us know if this is the correct way to convert existing Visual Studio
.targets files to cmake ?
If this is incorrect, please let us know how to achieve it with a simple
example.

Thanks.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-07-28 11:32 Ravi Raman     New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to