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

Trying to set Flex/Bison location #5

Closed
rvkennedy opened this issue Jun 20, 2014 · 2 comments
Closed

Trying to set Flex/Bison location #5

rvkennedy opened this issue Jun 20, 2014 · 2 comments

Comments

@rvkennedy
Copy link

I have win_flex.exe and win_bison.exe. I've tried setting the paths to these as environment variables (set FLEX_EXECUTABLE=C:\Dropbox\Programs\win_flex_bison\win_flex.exe), as lines at the top of CmakeLists.txt (SET(BISON_EXECUTABLE "C:/Dropbox/Programs/win_flex_bison/win_bison.exe" CACHE PATHFILE "bison")) and as lines in the main body of CmakeLists.txt (as above). In each case, we get the same error as if they were unset. What is the correct way to do this?

@dschoerk
Copy link

my working way of setting environment variables is through the cmake-gui
you could also edit your CMakeCache.txt i think

entries in my cache file:

//path to the bison executable
BISON_EXECUTABLE:FILEPATH=E:/Programming/GnuWin32/bin/bison.exe

//path to the flex executable
FLEX_EXECUTABLE:FILEPATH=E:/Programming/GnuWin32/bin/flex.exe

good luck!

@rvkennedy
Copy link
Author

Thanks - I think the "FILEPATH=" is what I'm missing!

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