Developing code in Visual studio that also runs in Linux

view story

http://stackoverflow.com – I have developed Visual C++ 2008 code that runs in Windows. I have made it cross platform also so that it runs under Linux. I am greatly concerned about distributing source code and even just libraries that Linux users can link to. I have used CMake and Code::Blocks (only in Linux) but it was still developed using Visual Studio 2008 for most development. The license looked similar for the professional version and the express version. Let me know if binaries can be released to run under Linux and also if it is okay to open source the entire project. I am pretty far into this project. May (HowTos)