View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002801CMakeCMakepublic2006-01-31 05:302007-02-13 15:09
ReporterMike Talbot 
Assigned ToKen Martin 
PrioritylowSeverityfeatureReproducibilityunable to reproduce
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002801: Add LOCATION property suitable for use at test time
DescriptionThe LOCATION property currently gives a path suitable for use in the build environment (i.e. with $(OutDir), $(IntDir) or $(CONFIGURATION) embedded to select the right configuration).

I'd like e.g. a TEST_LOCATION property that gives a path that can be used with ctest, i.e. using ${CTEST_CONFIGURATION_TYPE} in place of $(OutDir) etc.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0006366)
Ken Martin (developer)
2007-02-06 16:14

I am not sure why this would be needed. If you do not put in a configuration then ctest seems to do the correct thing.

For example
add_test(cxxonly "${CMAKE_CURRENT_BINARY_DIR}/cxxonly")

seems to work OK with ctest. If I build both Release and Debug but specifying the -C option ctest will test the one I want. If I leave off -C it defaults to a configuration, but it still works. Am I missing something here?

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team