View Issue Details

IDProjectCategoryView StatusLast Update
0024579CommunityOCCT:Configurationpublic2014-01-29 13:38
ReporterPawel Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
PlatformWindowsOSVC++ 2012 
Product Version6.7.0 
Summary0024579: [duplicate] CMake does not differentiate between the release and debug versions of TBB
DescriptionI've generated the VS2012 solution using CMake and the problem reported in 24217 still persists: the INSTALL project does not differentiate between the Release and Debug versions and always copies Release binaries of the 3rd-party binaries.

I'm using WOK 6.7.0.1.

Unfortunately, I cannot reopen the corresponding issue.
TagsNo tags attached.
Test case number

Attached Files

Relationships

duplicate of 0024217 closedPawel CMake does not differentiate between the release and debug versions of TBB 

Activities

ibs

2014-01-28 19:48

developer   ~0027662

Hello Pawel!
I've installed occt is compiled in debug just now and "bin" folder contains tbb_debug.dll and tbbmalloc_debug.dll

in tbb.cmake, in debug case "_debug" postfix is added...

may be do you attach yours CMakeLists.txt and /adm/cmake/tbb.cmake files? and we will check them

Pawel

2014-01-29 11:51

developer  

cmake_GUI_.png (139,436 bytes)   

Pawel

2014-01-29 11:53

developer  

install_dir.png (36,574 bytes)   

Pawel

2014-01-29 11:57

developer   ~0027664

Dear ibs,

first of all thank you for investigating the issue!

I have attached some screenshots and the cmake file (is this the one you meant?) to illustrate the issue. I hope they help.

As can be seen on the picture, my install-directory contains release version of tbb-DLLs because switching the version from Release to Debug using the CMake-GUI does not update the corresponding directory.

Am I doing something wrong?

ibs

2014-01-29 12:17

developer   ~0027667

Last edited: 2014-01-29 12:22

Pawel,please attach your CMakeLists.txt and adm/templates/tbb.cmake files. I'll compare them

Pawel

2014-01-29 12:31

developer   ~0027668

Dear ibs,

I followed your comment (before you deleted it ;): fetched the changes made in CR24580, re-generated the cmake files using WOK and then the CMake-GUI behaves correctly (haven't compiled yet).

What puzzled me before, was the fact that the issue had been marked as solved for OCCT 6.7.0 while I guess it was not.

Anyway, I have attached the mentioned files from the revision tagged as "V6_7_0".

Pawel

2014-01-29 12:31

developer  

CMakeLists_OCCT670.txt (20,187 bytes)   

Pawel

2014-01-29 12:31

developer  

tbb_OCCT670.cmake (4,934 bytes)

ibs

2014-01-29 12:39

developer   ~0027669

I've compared the files and they are equal :)
I think you implicitly use another version of sent files because cmake_GUI.png contains "BUILD_BITNESS" field that had been removed in 6.7.0 release.

Pawel

2014-01-29 13:01

developer   ~0027670

Yes, you are right! I had an old version of CMakeLists.txt in the adm\cmake directory, which I referred to... embarrassing...

I guess this issue can be closed or deleted then.

Sorry for the noise and thank you for your help!

ibs

2014-01-29 13:03

developer   ~0027672

Pawel, i'm glad that we've found solution :)

ibs

2014-01-29 13:03

developer   ~0027673

dear bugmaster, please close the issue

Issue History

Date Modified Username Field Change
2014-01-28 17:02 Pawel New Issue
2014-01-28 17:02 Pawel Assigned To => kgv
2014-01-28 17:02 Pawel Relationship added duplicate of 0024217
2014-01-28 17:06 Pawel Description Updated
2014-01-28 17:09 abv Assigned To kgv => ibs
2014-01-28 17:09 abv Status new => assigned
2014-01-28 17:09 abv Category OCCT:Coding => OCCT:Configuration
2014-01-28 19:48 ibs Note Added: 0027662
2014-01-28 19:48 ibs Assigned To ibs => Pawel
2014-01-28 19:48 ibs Status assigned => feedback
2014-01-29 11:51 Pawel File Added: cmake_install.cmake
2014-01-29 11:51 Pawel File Added: cmake_GUI_.png
2014-01-29 11:53 Pawel File Added: install_dir.png
2014-01-29 11:57 Pawel Note Added: 0027664
2014-01-29 11:58 Pawel Assigned To Pawel => ibs
2014-01-29 12:09 ibs Assigned To ibs => Pawel
2014-01-29 12:09 ibs Status feedback => assigned
2014-01-29 12:17 ibs Note Added: 0027667
2014-01-29 12:21 ibs Note View State: 0027667: private
2014-01-29 12:21 ibs Note View State: 0027667: public
2014-01-29 12:22 ibs Note Edited: 0027667
2014-01-29 12:31 Pawel Note Added: 0027668
2014-01-29 12:31 Pawel File Added: CMakeLists_OCCT670.txt
2014-01-29 12:31 Pawel File Deleted: cmake_install.cmake
2014-01-29 12:31 Pawel File Added: tbb_OCCT670.cmake
2014-01-29 12:32 Pawel Assigned To Pawel => ibs
2014-01-29 12:39 ibs Note Added: 0027669
2014-01-29 12:39 ibs Assigned To ibs => Pawel
2014-01-29 12:39 ibs Status assigned => feedback
2014-01-29 13:01 Pawel Note Added: 0027670
2014-01-29 13:02 Pawel Assigned To Pawel => ibs
2014-01-29 13:02 Pawel Status feedback => resolved
2014-01-29 13:03 ibs Note Added: 0027672
2014-01-29 13:03 ibs Note Added: 0027673
2014-01-29 13:03 ibs Assigned To ibs => bugmaster
2014-01-29 13:03 ibs Status resolved => reviewed
2014-01-29 13:38 bugmaster Status reviewed => closed
2014-01-29 13:38 bugmaster Resolution open => no change required