Skip to content

How to separate my project into multiple parts #2208

Discussion options

You must be logged in to vote

I found an example of premake that deals with GLFW and OpenGL, and the approach used is different from what I was trying, maybe that's why I always made mistakes. For now, the way I managed to solve it was simply by creating a function in the separate file with the configurations I wanted. For third parties static dependencies, this will be useful. It raised other questions for me, but I'll save them to research, and if I can't find answers, I'll ask another question. Thanks to those who were willing to help.

function useEigen()
    includedirs { "vendor/eigen" }
end
dofile "vendor/eigen/premake.lua"
project "Project"
    useEigen()

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@FranciscoOssian
Comment options

Comment options

You must be logged in to vote
3 replies
@FranciscoOssian
Comment options

@samsinsane
Comment options

@FranciscoOssian
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by FranciscoOssian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants