kaiwu999 / alembic

Automatically exported from code.google.com/p/alembic
0 stars 0 forks source link

Flags for excluding tests, opengl and bootstrap from default cmake builds. #306

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In production builds one would like to exclude the tests from the generated 
project file as well as the opengl and the bootstrap examples.  In order to 
allow for maximum configurability I have created three different flags in cmake:

ALEMBIC_NO_TESTS
ALEMBIC_NO_BOOTSTRAP
ALEMBIC_NO_OPENGL

I have implemented this change in this branch as the last two commits: 

https://code.google.com/r/ben-dev/source/list?name=ogawa

And yes I have signed the contributors release form.

Original issue reported on code.google.com by b...@exocortex.com on 22 May 2013 at 12:04

GoogleCodeExporter commented 8 years ago
Thanks for submitting this, I've reviewed the changes and checked them in here:

http://code.google.com/r/millerlucas-dev/source/detail?r=83a2b41f1e63160ac94032e
19cda39c3723a69df&name=ogawa

and here:
http://code.google.com/r/millerlucas-dev/source/detail?r=2125a04e409f00b2e5ae149
1755b253ff3b8a53f&name=ogawa

Out of curiosity what CMake command are you using to get this to build?

Original comment by miller.lucas on 22 May 2013 at 6:05

GoogleCodeExporter commented 8 years ago
I do not understand "Out of curiosity what CMake command are you using to get 
this to build?"

We just embed the Alembic project CMake file within a much larger CMake file 
hierarchy.  Thus we never build it directly using a CMake command, rather it is 
controlled by other CMake files.

Original comment by neuralsoft@gmail.com on 23 May 2013 at 6:30

GoogleCodeExporter commented 8 years ago
Ok, I see.

I mainly asked to see if there was a simple command to test the build in a way 
that you are using it.

If this is controlled via other CMake stuff, then a simple command may not be 
possible.

Original comment by miller.lucas on 23 May 2013 at 6:47

GoogleCodeExporter commented 8 years ago

Original comment by miller.lucas on 28 Aug 2013 at 4:50