Skip to content

Commit f152a22

Browse files
authored
[C-libcurl] Add object.c to CMakeLists to compile (#5130)
* [C-libcurl] Add object.c to CMakeLists to compile * [C-libcurl] Add object.h/object.c to CMakeLists of sample
1 parent 105ce99 commit f152a22

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

modules/openapi-generator/src/main/resources/C-libcurl/CMakeLists.txt.mustache

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ set(SRCS
2323
src/apiKey.c
2424
src/apiClient.c
2525
external/cJSON.c
26+
model/object.c
2627
{{#models}}
2728
{{#model}}
2829
model/{{classname}}.c
@@ -43,6 +44,7 @@ set(HDRS
4344
include/list.h
4445
include/keyValuePair.h
4546
external/cJSON.h
47+
model/object.h
4648
{{#models}}
4749
{{#model}}
4850
model/{{classname}}.h

samples/client/petstore/c/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ set(SRCS
2323
src/apiKey.c
2424
src/apiClient.c
2525
external/cJSON.c
26+
model/object.c
2627
model/api_response.c
2728
model/category.c
2829
model/order.c
@@ -40,6 +41,7 @@ set(HDRS
4041
include/list.h
4142
include/keyValuePair.h
4243
external/cJSON.h
44+
model/object.h
4345
model/api_response.h
4446
model/category.h
4547
model/order.h

0 commit comments

Comments
 (0)