monsdar / CxxProf

CxxProf is a manual instrumented Profiling library for C++. It's goal is to provide easy integration into existing projects with just as little overhead as possible. It should be easy to remove the profiling mechanism during compile and runtime from the code.
GNU General Public License v3.0
58 stars 5 forks source link

cxxprof_static is not created as static library #39

Closed monsdar closed 10 years ago

monsdar commented 10 years ago

The concept of CxxProf is to create a static library which the application uses and a dynamic library that is loaded at runtime.

As could be seen in CMakeLists.txt of cxxprof_static (currently line 23), the lib is created as dynamic lib.

It simply should be changed from SHARED to STATIC and everything works as expected.

monsdar commented 10 years ago

Some additional steps were needed, but now everything should work as expected