Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake Module Finder is needed to ease profiling of cmake-only projects #68

Open
tyoma opened this issue Feb 23, 2021 · 1 comment
Open

Comments

@tyoma
Copy link
Owner

tyoma commented Feb 23, 2021

Standalone installer shall install a finder module so that it would be easier to profile cmake-based cross-platform projects (shall work on Windows, Linux and MacOS).
As for VSPackage - a finder shall be installed too, but it's integration shall be done via special menu in VS menubar.
@macumber reported this issue.

@macumber
Copy link

In case it helps, here is some CMake I added to my project

add_definitions(/GH /Gh /Zi)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /DEBUG /OPT:REF /OPT:ICF")
find_library(PROFILING_LIB micro-profiler_x64)
target_link_libraries(${target_name} ${PROFILING_LIB} )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants