Skip to content

yueguanyu/premake5_template

Repository files navigation

first install dependence via vcpkg

vcpkg install boost:x64-windows #(windows)
vcpkg install boost

then prebuild and use vs .sln file to build your project

with cmake build you should use command

premake5 cmake

the compile order in the main CMakeLists.txt should be sorted as your dependency hierarchy.

# When done tweaking common stuff, configure the components (subprojects).
# NOTE: The order matters! The most independent ones should go first.

add_subdirectory(libA) # A is a static library add_subdirectory(libB) # B is a shared library (depends on B)

add_subdirectory(app1) # (depends on A and B)

About

premake5_template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published