Archived issue #0025713
CMake configuring procedure should allow to build OCCT as static libraries
Description
CMake configuring procedure should allow to build OCCT as static libraries.
New CMake variable BUILD_LIBRARIES has two options "STATIC" and "SHARED" should be introduced
New CMake variable BUILD_LIBRARIES has two options "STATIC" and "SHARED" should be introduced
Steps to reproduce
1. get CR25713 branch in occt git
2. use the changes from CR25713 branch in WOK git
3. generate cmake-files by wok: wgenproj -target=cmake
static build:
4. generate vc10 occt solution from cmake-files with BUILD_LIBRARY_TYPE = static
5. build the generated vc10 project
6. DRAWEXE excluded from the project.
shared build:
7. generate vc10 occt solution from cmake-files with BUILD_LIBRARY_TYPE = Shared
8. build the generated vc10 project
9. build "install" target
10. run draw.bat from install folder and run "testgrid demo" to check
2. use the changes from CR25713 branch in WOK git
3. generate cmake-files by wok: wgenproj -target=cmake
static build:
4. generate vc10 occt solution from cmake-files with BUILD_LIBRARY_TYPE = static
5. build the generated vc10 project
6. DRAWEXE excluded from the project.
shared build:
7. generate vc10 occt solution from cmake-files with BUILD_LIBRARY_TYPE = Shared
8. build the generated vc10 project
9. build "install" target
10. run draw.bat from install folder and run "testgrid demo" to check
Public activity
12 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Jan 16 12:15:11 2015 +0300
0025713: CMake configuring procedure should allow to build OCCT as static libraries
BUILD_LIBRARY_TYPE variable added
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Jan 16 12:15:11 2015 +0300
0025713: CMake configuring procedure should allow to build OCCT as static libraries
BUILD_LIBRARY_TYPE variable added
dear ski,
please test the new cmake feature (static build)
please test the new cmake feature (static build)
I have reproduced "Steps To Reproduce" scenario.
224 warnings and 3 errors appear during compilation.
Please, look attached files.
224 warnings and 3 errors appear during compilation.
Please, look attached files.
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
dear ski,
please review CR25713 branch of occt git and CR25713 one of WOK git
please review CR25713 branch of occt git and CR25713 one of WOK git
No remarks, please test
Fix has been tested on Windows and Linux platforms.
Fix for WOK has been integrated into occt-wok repository
Fix for WOK has been integrated into occt-wok repository
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
dear Commenter 1, please test again with another configuration (only __shared__ build):
1. get CR25713 branch in occt git
2. use binary WOK distributive 6.8.0
3. generate cmake-files by wok: wgenproj -target=cmake
shared build for windows:
4. generate vc10 occt solution from cmake-files with BUILD_LIBRARY_TYPE = Shared
5. build the generated vc10 project
6. build "install" target
7. run draw.bat from install folder and run "testgrid demo" to check
8. shared build for linux
1. get CR25713 branch in occt git
2. use binary WOK distributive 6.8.0
3. generate cmake-files by wok: wgenproj -target=cmake
shared build for windows:
4. generate vc10 occt solution from cmake-files with BUILD_LIBRARY_TYPE = Shared
5. build the generated vc10 project
6. build "install" target
7. run draw.bat from install folder and run "testgrid demo" to check
8. shared build for linux
OCCT is built and DRAWEXE is launched after actiona made in accordance with ibs scenario
This change will be completely available in 7.0.0
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Related records