Adding compiler flags
Adding compiler flags
I want to add some flags to the compiler, but I'm not shure where I can add them. I guess in the CMakeLists.txt in the /src directory, but in which line?
- domtron vox
- Member
- Posts: 111
- Joined: Thu Feb 20, 2014 21:07
- GitHub: DomtronVox
- IRC: Domtron
- In-game: Domtron
Re: Adding compiler flags
You should tell us if your using windows or linux and maybe explain a bit more about what your trying to do exactly(why you are adding flags etc).
I know on linux you can define some compile time values when running make as described here for run in place and here which is a list of all cmake flags.
I guess you can pass flags using "cmake . -flag1 -flag2=x ... etc" but, as I said, I'm just guessing based on the documentation and not experience.
I know on linux you can define some compile time values when running make as described here for run in place and here which is a list of all cmake flags.
I guess you can pass flags using "cmake . -flag1 -flag2=x ... etc" but, as I said, I'm just guessing based on the documentation and not experience.
Who is online
Users browsing this forum: No registered users and 1 guest