Skip to content

Config a shared library in Windows (DLL) and import it.

Notifications You must be signed in to change notification settings

zhangshaos/Modern-CMake-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Modern-CMake-Example

Config a shared library in Windows (DLL) and import it.

  1. pkg is a shared library. Build it and install it.
  2. main is an exe. Build it, install it (just copy dependent DLLs) and run it.

Usage

The pkg is dependent on fmt. Build them like:

cmake ... -DCMAKE_TOOLCHAIN_FILE=.../vcpkg.cmake -DCMAKE_INSTALL_PREFIX=.../

About

Config a shared library in Windows (DLL) and import it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published