summaryrefslogtreecommitdiffstats
path: root/Source/cmFLTKWrapUICommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-05-10 19:46:45 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-05-10 19:46:45 (GMT)
commit2af47105250a8a502eb5a3cbe18e1d77d11ec590 (patch)
tree0c47964082eeb7975bc6e8769d092103bb29f8a7 /Source/cmFLTKWrapUICommand.cxx
parentafbc5743566b31f5270fa0ebabc395ad851e5359 (diff)
downloadCMake-2af47105250a8a502eb5a3cbe18e1d77d11ec590.zip
CMake-2af47105250a8a502eb5a3cbe18e1d77d11ec590.tar.gz
CMake-2af47105250a8a502eb5a3cbe18e1d77d11ec590.tar.bz2
STYLE: fix line length
Diffstat (limited to 'Source/cmFLTKWrapUICommand.cxx')
-rw-r--r--Source/cmFLTKWrapUICommand.cxx18
1 files changed, 14 insertions, 4 deletions
diff --git a/Source/cmFLTKWrapUICommand.cxx b/Source/cmFLTKWrapUICommand.cxx
index 118cbfb..c6097c4 100644
--- a/Source/cmFLTKWrapUICommand.cxx
+++ b/Source/cmFLTKWrapUICommand.cxx
@@ -136,8 +136,18 @@ void cmFLTKWrapUICommand::FinalPass()
}
if (!found)
{
- std::string msg = "In CMake 2.2 the FLTK_WRAP_UI command sets a variable to the list of source files that should be added to your executable or library. It appears that you have not added these source files to your target. You should change your CMakeLists.txt file to directly add the generated files to the target. For example FTLK_WRAP_UI(foo src1 src2 src3) will create a variable named foo_FLTK_UI_SRCS that contains the list of sources to add to your target when you call ADD_LIBRARY or ADD_EXECUTABLE. For now CMake 2.2 will add the sources to your target for you as was done in CMake 2.0 and earlier. In the future this may become an error. ";
- msg += "The problem was found while processing the source directory: ";
+ std::string msg =
+ "In CMake 2.2 the FLTK_WRAP_UI command sets a variable to the list of "
+ "source files that should be added to your executable or library. It "
+ "appears that you have not added these source files to your target. You "
+ "should change your CMakeLists.txt file to directly add the generated "
+ "files to the target. For example FTLK_WRAP_UI(foo src1 src2 src3) "
+ "will create a variable named foo_FLTK_UI_SRCS that contains the list "
+ "of sources to add to your target when you call ADD_LIBRARY or "
+ "ADD_EXECUTABLE. For now CMake will add the sources to your target "
+ "for you as was done in CMake 2.0 and earlier. In the future this may "
+ "become an error.";
+ msg +="The problem was found while processing the source directory: ";
msg += this->Makefile->GetStartDirectory();
cmSystemTools::Message(msg.c_str(),"Warning");
// first we add the rules for all the .fl to .h and .cxx files
@@ -146,8 +156,8 @@ void cmFLTKWrapUICommand::FinalPass()
// Generate code for all the .fl files
for(size_t classNum = 0; classNum < lastHeadersClass; classNum++)
{
- this->Makefile->GetTargets()[this->Target].GetSourceFiles().push_back(
- this->GeneratedSourcesClasses[classNum]);
+ this->Makefile->GetTargets()[this->Target].GetSourceFiles().
+ push_back(this->GeneratedSourcesClasses[classNum]);
}
}
}