Source Group in vs 2010

Added by Steve Sharp 12 months ago

Has anyone managed to add source group support in vs 2010 ? it looks like the extra .filters file which should contain this info is empty...

Steve.


Replies (3)

RE: Source Group in vs 2010 - Added by Joshua Jensen 12 months ago

I've got a number of projects with source group folders working fine in VS2010.

Can you provide a Jamfile where it is broken?

Thanks.

Josh

RE: Source Group in vs 2010 - Added by Steve Sharp 12 months ago

This simple jam file fails in vs 2010 but works in 2008, the .filters section doesn't have anything in the first section

SubDir Source Libs Test ;

Project !libTest : ;
ProjectGroup Master : Libs\\Test : libTest ;
Workspace Master : libTest ;

SRCS =
Test1\Test1.cpp
Test1\Test1.h
Checks\Checks.cpp
Checks\Checks.h
Config\Config.h

;

AutoSourceGroup libTest : $(SRCS) ;

C.OutputPath libTest : $(TEST_TARGET_LIB_DIR) ;
C.Library libTest : $(SRCS) ;

RE: Source Group in vs 2010 - Added by Joshua Jensen 11 months ago

It seems I broke AutoSourceGroup and library-only workspace generation.

I have now fixed it.

Grab latest.

Thanks.

Josh

(1-3/3)