fixes for HP

This commit is contained in:
Bill Hoffman 2003-06-04 09:02:50 -04:00
parent 9ccc27864e
commit 48cd349c81
3 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ SET (EXECUTABLE_OUTPUT_PATH
# #
################################################################ ################################################################
# add the executable that will generate the file # add the executable that will generate the file
ADD_EXECUTABLE(generator generator.c) ADD_EXECUTABLE(generator generator.cxx)
# the folowing assumes that a cmSourceFile # the folowing assumes that a cmSourceFile
# is instantiated for the output, with GENERATED 1 # is instantiated for the output, with GENERATED 1
@ -37,7 +37,7 @@ ADD_CUSTOM_COMMAND(OUTPUT ${PROJECT_BINARY_DIR}/generated.c
# #
################################################################ ################################################################
# add the executable that will generate the file # add the executable that will generate the file
ADD_EXECUTABLE(wrapper wrapper.c) ADD_EXECUTABLE(wrapper wrapper.cxx)
# the following assumes that a cmSourceFile # the following assumes that a cmSourceFile
# is instantiated for the output, with GENERATED 1 # is instantiated for the output, with GENERATED 1

View File

@ -1,6 +1,6 @@
#include <stdio.h> #include <stdio.h>
main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
FILE *fp = fopen(argv[1],"w"); FILE *fp = fopen(argv[1],"w");

View File

@ -1,6 +1,6 @@
#include <stdio.h> #include <stdio.h>
main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
FILE *fp = fopen(argv[1],"w"); FILE *fp = fopen(argv[1],"w");