Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
KWSys
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sylvain Joubert
KWSys
Commits
bbf5c7d9
Commit
bbf5c7d9
authored
21 years ago
by
Brad King
Browse files
Options
Downloads
Patches
Plain Diff
ENH: Added testIOS for kwsys_ios testing.
parent
c12d406c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+2
-0
2 additions, 0 deletions
CMakeLists.txt
testIOS.cxx
+11
-0
11 additions, 0 deletions
testIOS.cxx
with
13 additions
and
0 deletions
CMakeLists.txt
+
2
−
0
View file @
bbf5c7d9
...
...
@@ -383,8 +383,10 @@ ENDIF(KWSYS_USE_Process)
# Setup testing if not being built as part of another project.
IF
(
KWSYS_STANDALONE
)
INCLUDE_DIRECTORIES
(
${
KWSYS_HEADER_ROOT
}
)
ADD_EXECUTABLE
(
testIOS testIOS.cxx
)
ADD_EXECUTABLE
(
testProcess testProcess.c
)
ADD_EXECUTABLE
(
test1 test1.cxx
)
TARGET_LINK_LIBRARIES
(
testIOS
${
KWSYS_NAMESPACE
}
)
TARGET_LINK_LIBRARIES
(
testProcess
${
KWSYS_NAMESPACE
}
)
TARGET_LINK_LIBRARIES
(
test1
${
KWSYS_NAMESPACE
}
)
ENDIF
(
KWSYS_STANDALONE
)
This diff is collapsed.
Click to expand it.
testIOS.cxx
0 → 100644
+
11
−
0
View file @
bbf5c7d9
#include
<kwsys/stl/vector>
#include
<kwsys/ios/sstream>
#include
<kwsys/ios/iostream>
int
main
()
{
kwsys_ios
::
ostringstream
ostr
;
ostr
<<
"Hello, World!"
;
kwsys_ios
::
cout
<<
ostr
.
str
()
<<
kwsys_ios
::
endl
;
return
0
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment