Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PARSE_COMPILE_ONLY implementation #2

Open
eldiener opened this issue Sep 7, 2017 · 1 comment
Open

PARSE_COMPILE_ONLY implementation #2

eldiener opened this issue Sep 7, 2017 · 1 comment

Comments

@eldiener
Copy link

eldiener commented Sep 7, 2017

Why not have the line:

add_library(${PARSE_NAME} STATIC EXCLUDE_FROM_ALL ${SOURCES})

be instead:

add_library(${PARSE_NAME} OBJECT EXCLUDE_FROM_ALL ${SOURCES})

if it works. This would allow just the creation of object files rather than the creation of a static library, which is overkill in this situation.

@pfultz2
Copy link
Owner

pfultz2 commented Sep 7, 2017

That is a good point, I opened an issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants