Workspace shared between Windows and Linux
Posted: Mon Nov 18, 2013 1:59 pm
OS: Windows 7, 8 & Ubuntu 12.04
Codelite 5.3
wxWidgets 2.8.5
MinGW 4.7.1
Look for some advice on Workspace management
I have a Workspace that I share (synchronise is a better term) between Windows and Linux
For each project I have Debug and Release builds for Windows and LinuxDebug and LinuxRelease builds for Ubuntu
All works pretty well, but I do have a small number of Windows-only projects in the Workspace
Is there a way to "instruct" Linux-Codelite not to build certain projects? i.e. not try to build them at all?
At present I add the following directive into the "Main.h" file
and this does work, but it does add an error to the build log, and I'd rather Codelite didn't even try and build the project in the first place.
I've also tried setting the "Compiler not needed" and "Linker not needed" flags in the LinuxDebug and LinuxRelease but Codelite still processes these projects rather than ignoring them completely.
Cheers for any suggestions, Colin
Codelite 5.3
wxWidgets 2.8.5
MinGW 4.7.1
Look for some advice on Workspace management
I have a Workspace that I share (synchronise is a better term) between Windows and Linux
For each project I have Debug and Release builds for Windows and LinuxDebug and LinuxRelease builds for Ubuntu
All works pretty well, but I do have a small number of Windows-only projects in the Workspace
Is there a way to "instruct" Linux-Codelite not to build certain projects? i.e. not try to build them at all?
At present I add the following directive into the "Main.h" file
Code: Select all
#ifndef __WINDOWS__
#error "This is a windows only application"
#endif
I've also tried setting the "Compiler not needed" and "Linker not needed" flags in the LinuxDebug and LinuxRelease but Codelite still processes these projects rather than ignoring them completely.
Cheers for any suggestions, Colin