Skip to content

Conversation

@kinyoklion
Copy link
Member

No description provided.

std::cout << "Reason was: " << *reason << std::endl;
}

// Identify a series of contexts.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this, because sleep isn't just included in windows.

find_package(Threads REQUIRED)

add_executable(hello-cpp main.cpp)
target_link_libraries(hello-cpp PRIVATE launchdarkly::client launchdarkly::sse launchdarkly::common Threads::Threads)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Common being included was causing all kinds of missing symbols, when all those are already in client.

add_library(launchdarkly::client ALIAS ${LIBNAME})


set_property(TARGET ${LIBNAME} PROPERTY
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may need to have a more complex version of this eventually. But as is we always dynamically link against the windows runtime. Either the debug or release version.

@kinyoklion kinyoklion changed the title feat: Use object libraries. feat: Update windows static builds. May 22, 2023
@kinyoklion kinyoklion marked this pull request as ready for review May 22, 2023 22:06
@kinyoklion kinyoklion requested a review from cwaldren-ld May 22, 2023 22:06
@kinyoklion kinyoklion merged commit 5d08380 into main May 22, 2023
@kinyoklion kinyoklion deleted the rlamb/windows-release-builds-part2 branch May 22, 2023 22:30
@github-actions github-actions bot mentioned this pull request May 22, 2023
This was referenced Oct 23, 2023
@github-actions github-actions bot mentioned this pull request May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants