fixes for HP
This commit is contained in:
parent
9ccc27864e
commit
48cd349c81
@ -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
|
||||||
|
@ -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");
|
||||||
|
|
@ -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");
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user