[
https://issues.apache.org/jira/browse/GEODE-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16270068#comment-16270068
]
ASF GitHub Bot commented on GEODE-3288:
---------------------------------------
pivotal-jbarrett commented on a change in pull request #160: GEODE-3288:
Converts char* to std::string on public API.
URL: https://github.com/apache/geode-native/pull/160#discussion_r153687054
##########
File path: clicache/src/CMakeLists.txt
##########
@@ -48,21 +49,23 @@ target_link_libraries(Apache.Geode
string(REPLACE "/EHsc" "/EHa" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
string(REPLACE "/RTC1" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /clr /wd4947 /wd4251 /wd4635 /doc
/we4488")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /clr /bigobj /wd4947 /wd4251 /wd4635
/doc /we4488")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}
${SHARED_LINKER_FLAGS_STRONG_KEY}")
-include_directories(${CMAKE_SOURCE_DIR}/clicache/include)
-include_directories(${CMAKE_SOURCE_DIR}/clicache/src)
include_directories(${CMAKE_SOURCE_DIR}/cppcache/src)
-set_target_properties(Apache.Geode PROPERTIES
+set_target_properties(${PROJECT_NAME} PROPERTIES
OUTPUT_NAME ${PRODUCT_DLL_NAME}
VS_DOTNET_TARGET_FRAMEWORK_VERSION "v4.5.2"
- VS_DOTNET_REFERENCES "System;System.Xml")
+ VS_DOTNET_REFERENCES "System;System.Xml"
+)
+
+include(PrecompiledHeader)
+add_precompiled_header(${PROJECT_NAME} geode_includes.hpp FORCEINCLUDE)
Review comment:
Added precompiled headers to work around and speed up issue including
marshal_as headers.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Replace char* with std::string
> ------------------------------
>
> Key: GEODE-3288
> URL: https://issues.apache.org/jira/browse/GEODE-3288
> Project: Geode
> Issue Type: Improvement
> Components: native client
> Reporter: Ernest Burghardt
>
> In all public API headers
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)