From 49b61dcfbb26966ed854aa4a8af38c221002c43b Mon Sep 17 00:00:00 2001 From: Blake Bender Date: Thu, 28 Feb 2019 13:49:29 -0800 Subject: [PATCH 1/2] GEODE-4340: Parameterize target name in copy step - Was preventing example build on Windows Co-authored-by: Ivan Godwin --- examples/cpp/CMakeLists.txt.cpp_example.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/cpp/CMakeLists.txt.cpp_example.in b/examples/cpp/CMakeLists.txt.cpp_example.in index d45f9695b9..5465cc206f 100644 --- a/examples/cpp/CMakeLists.txt.cpp_example.in +++ b/examples/cpp/CMakeLists.txt.cpp_example.in @@ -37,7 +37,7 @@ target_link_libraries(${PROJECT_NAME} if(WIN32) add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy - $/../bin/@PRODUCT_LIB_NAME@.dll> + $/../bin/@PRODUCT_LIB_NAME@.dll> $> ) endif() \ No newline at end of file From a7213749c7972c8f171fcb4d63add972930644e5 Mon Sep 17 00:00:00 2001 From: Blake Bender Date: Thu, 28 Feb 2019 13:54:21 -0800 Subject: [PATCH 2/2] GEODE-4340: Add newline at EOF Co-authored-by: Ivan Godwin --- examples/cpp/CMakeLists.txt.cpp_example.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/cpp/CMakeLists.txt.cpp_example.in b/examples/cpp/CMakeLists.txt.cpp_example.in index 5465cc206f..e08c150fc3 100644 --- a/examples/cpp/CMakeLists.txt.cpp_example.in +++ b/examples/cpp/CMakeLists.txt.cpp_example.in @@ -40,4 +40,4 @@ if(WIN32) $/../bin/@PRODUCT_LIB_NAME@.dll> $> ) -endif() \ No newline at end of file +endif()