Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
e5a88874
Commit
e5a88874
authored
Sep 20, 2002
by
Ken Martin
Browse files
removed c++ style comments
parent
b380a374
Changes
2
Hide whitespace changes
Inline
Side-by-side
Tests/LoadCommand/CMakeCommands/cmTestCommand.c
View file @
e5a88874
...
...
@@ -19,8 +19,8 @@ int InitialPass(void *inf, void *mf, int argc, char *argv[])
cdata
->
LibraryName
=
"BOO"
;
info
->
CAPI
->
SetClientData
(
info
,
cdata
);
/
/
Now check and see if the value has been stored in the cache
/
/
already, if so use that value and don't look for the program
/
*
Now check and see if the value has been stored in the cache
*/
/
*
already, if so use that value and don't look for the program
*/
if
(
!
info
->
CAPI
->
IsOn
(
mf
,
"TEST_COMMAND_TEST1"
))
{
info
->
CAPI
->
AddDefinition
(
mf
,
"TEST_DEF"
,
"HOO"
);
...
...
@@ -35,7 +35,7 @@ int InitialPass(void *inf, void *mf, int argc, char *argv[])
void
FinalPass
(
void
*
inf
,
void
*
mf
)
{
cmLoadedCommandInfo
*
info
=
(
cmLoadedCommandInfo
*
)
inf
;
/
/
get our client data from initial pass
/
*
get our client data from initial pass
*/
cmVTKWrapTclData
*
cdata
=
(
cmVTKWrapTclData
*
)
info
->
CAPI
->
GetClientData
(
info
);
if
(
strcmp
(
info
->
CAPI
->
GetDefinition
(
mf
,
"TEST_DEF"
),
"HOO"
)
||
...
...
@@ -48,7 +48,7 @@ void FinalPass(void *inf, void *mf)
void
Destructor
(
void
*
inf
)
{
cmLoadedCommandInfo
*
info
=
(
cmLoadedCommandInfo
*
)
inf
;
/
/
get our client data from initial pass
/
*
get our client data from initial pass
*/
cmVTKWrapTclData
*
cdata
=
(
cmVTKWrapTclData
*
)
info
->
CAPI
->
GetClientData
(
info
);
free
(
cdata
);
...
...
Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c
View file @
e5a88874
...
...
@@ -19,8 +19,8 @@ int InitialPass(void *inf, void *mf, int argc, char *argv[])
cdata
->
LibraryName
=
"BOO"
;
info
->
CAPI
->
SetClientData
(
info
,
cdata
);
/
/
Now check and see if the value has been stored in the cache
/
/
already, if so use that value and don't look for the program
/
*
Now check and see if the value has been stored in the cache
*/
/
*
already, if so use that value and don't look for the program
*/
if
(
!
info
->
CAPI
->
IsOn
(
mf
,
"TEST_COMMAND_TEST1"
))
{
info
->
CAPI
->
AddDefinition
(
mf
,
"TEST_DEF"
,
"HOO"
);
...
...
@@ -35,7 +35,7 @@ int InitialPass(void *inf, void *mf, int argc, char *argv[])
void
FinalPass
(
void
*
inf
,
void
*
mf
)
{
cmLoadedCommandInfo
*
info
=
(
cmLoadedCommandInfo
*
)
inf
;
/
/
get our client data from initial pass
/
*
get our client data from initial pass
*/
cmVTKWrapTclData
*
cdata
=
(
cmVTKWrapTclData
*
)
info
->
CAPI
->
GetClientData
(
info
);
if
(
strcmp
(
info
->
CAPI
->
GetDefinition
(
mf
,
"TEST_DEF"
),
"HOO"
)
||
...
...
@@ -48,7 +48,7 @@ void FinalPass(void *inf, void *mf)
void
Destructor
(
void
*
inf
)
{
cmLoadedCommandInfo
*
info
=
(
cmLoadedCommandInfo
*
)
inf
;
/
/
get our client data from initial pass
/
*
get our client data from initial pass
*/
cmVTKWrapTclData
*
cdata
=
(
cmVTKWrapTclData
*
)
info
->
CAPI
->
GetClientData
(
info
);
free
(
cdata
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment