This library target is created by the DkSDKProject_AddProject() command.

It has a corresponding ALIAS target named DkSDK::OCaml::ForSharedBinary which is the preferred way to access the target.

Always include this library when you are making an executable with add_executable() which should not dynamically link to the native code OCaml shared libraries (ex.


On Windows there is no native code OCaml shared library.

See DkSDK_OCamlForStaticBinary for the guidance on when to use static links to OCaml and when to use dynamic links.

Consider reading the DkSDK CMake Tutorial to see how to use this library.