The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14787 
====================================================================== 
Reported By:                tibur
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14787
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-03-05 09:12 EST
Last Modified:              2014-03-05 09:12 EST
====================================================================== 
Summary:                    Unable to include a directory named after a Visual
Studio macro.
Description: 
I am trying to include a directory defined by a Visual Studio macro name
($(BlahBlahBlah)). Using the following CMakeLists.txt, CMake concatenates the
project working dir (d:/taf/Blah) with my macro name, leading to a wrong include
directory.

Steps to Reproduce: 
cmake_minimum_required(VERSION 2.8)
include_directories("c:/")
include_directories("$(BlahBlahBlah)")
include_directories("d:/")
add_executable(Blah main.cpp)

Produces:
<AdditionalIncludeDirectories>c:\;d:\Taf\Blah\$(BlahBlahBlah);d:\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-03-05 09:12 tibur          New 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