Code::Blocks Forums

User forums => Help => Topic started by: kevdawg86 on August 25, 2015, 07:07:12 am

Title: Cross platform compatibility
Post by: kevdawg86 on August 25, 2015, 07:07:12 am
I am new to programming and new to code blocks. What I'm needing to find out is if code blocks is cross compatible. I am taking a C++ class at my college and they are using code blocks on Windows 7 machines but I have a MacBook pro at home. If I work on code at home will it transfer over to my school computer and vice versa? I just wanted to check into this before I worked on a bunch of code only to find out it won't transfer. Thanks for any help you can provide.
Title: Re: Cross platform compatibility
Post by: Jenna on August 25, 2015, 07:23:10 am
In general yes !
But different compilers might need different settings.
If that's the case (most likely) you can have a project-file and create platform-specific targets in it.
It might also work to have a different project-files and only share the sources/headers.