The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15654
======================================================================
Reported By: James Bigler
Assigned To:
======================================================================
Project: CMake
Issue ID: 15654
Category: CMake
Reproducibility: N/A
Severity: feature
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-07-15 13:35 EDT
Last Modified: 2015-07-15 13:35 EDT
======================================================================
Summary: Need generator expression CONFIG that works for both
multi-config and single config generators
Description:
The value of $<CONFIG> works just fine for generators like Visual Studio (e.g.
Debug, RelWithDebInfo), but for generators like Makefiles it maps to
CMAKE_BUILD_TYPE, which is less useful for doing stuff like this:
file(GENERATE ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/$<CONFIG>/myfile)
This will do the right thing for VS, but not for Makefile. It would be helpful
to have such a value that could make this work.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-07-15 13:35 James Bigler 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