Skip to content

Commit 1d00480

Browse files
committed
Add generated files to the samples directory
1 parent d7eafd7 commit 1d00480

File tree

6 files changed

+1899
-3
lines changed

6 files changed

+1899
-3
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Debug/
66
Release/
77
Testing/
88
Win32/
9+
/IntrospectionSchema.*
10+
/TodaySchema.*
911
*.filters
1012
*.vcxproj
1113
*.vcxproj.user
@@ -15,7 +17,6 @@ CMakeSettings.json
1517
CMakeCache.txt
1618
CTestCostData.txt
1719
CTestTestfile.cmake
18-
IntrospectionSchema.*
1920
install_manifest.txt
2021
LastTest.log
2122
lib*.so
@@ -24,4 +25,3 @@ schemagen
2425
settings.json
2526
test_today
2627
tests
27-
TodaySchema.*

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,14 @@ install(TARGETS graphqlservice schemagen
8787
install(FILES GraphQLService.h Introspection.h IntrospectionSchema.h
8888
DESTINATION include/graphqlservice)
8989

90+
install(FILES IntrospectionSchema.h IntrospectionSchema.cpp TodaySchema.h TodaySchema.cpp
91+
DESTINATION ${CMAKE_SOURCE_DIR}/samples)
92+
9093
if(WIN32)
9194
set(GRAPHQLSERVICE_DIR $<TARGET_FILE_DIR:graphqlservice>)
9295
install(FILES ${GRAPHQLSERVICE_DIR}/graphqlservice.lib
9396
DESTINATION lib)
9497

9598
install(CODE "include(${CMAKE_SOURCE_DIR}/copy-windows-dlls.cmake)"
9699
CODE "copy_windows_dlls(${CMAKE_BINARY_DIR})")
97-
endif()
100+
endif()

0 commit comments

Comments
 (0)