By Bryan Wu, on 六月 10th, 2009, Category: C++ Programming
Tags: C++, cross platform, FLTK, GUI, LGPL, Programming, Qt, wxWidgets
By Bryan Wu, on 六月 9th, 2009, Category: C++ Programming, Open Source
Tags: Building tool, C++, compiler, cross platform, IDE Family, JAM, makefile, Open Source, Perforce
Perforce公司的开源工具JAM可以代替Make的工作,Jam可以自动识别源文件的依赖关系而不需要像Makefile那么复杂的定义。下面有一个例子,编译一个简单的C文件,Jamfile只需要一句,而Makefile需要8行对依赖关系的定义。顺便说一下,Perforce公司的SCM工具也非常不错,很多大公司都在使用。
Jam is a software build tool that makes building simple things simple and building complicated things manageable. It has been freely available as C source for many years from the Perforce Public Depot and is widely used to build commercial and academic software. Jam is a very good solution for conventional C/C++ compile-and-link builds.
Continue reading JAM – Building tool for C/C++ instead of Make - 全文阅读
By Bryan Wu, on 六月 3rd, 2009, Category: Code Insight, Open Source, wxWidgets
Tags: Book, C++, cross platform, GUI, Open Source, Programming, Python, wxPython, wxWidgets, 下载, 编程
以前通过学习Python认识了wxPython,那里面有很多文档和源代码实例可以参考学习,对编程帮助很大。后来在C++项目中也需要用到wxWidgets,发现这本书非常实用,结合wxWidgets的官方手册,编程感觉非常畅快。特别推荐大家阅读,如果你对wxWidgets编程感兴趣的话。有什么读书心得也可以跟贴共享给大家。
wxWidgets now has its own 700-page book to help you learn or brush up on your cross-platform programming skills. Written by Julian Smart and Kevin Hock with Stefan Csomor, "Cross-Platform GUI Programming with wxWidgets" was published on July 27th 2005 by Prentice Hall. It’s part of Bruce Perens’ Open Source Series.
Continue reading Book: Cross-Platform GUI Programming with wxWidgets (Bruce Perens)(含中英文版本下载地址) - 全文阅读
By Bryan Wu, on 五月 26th, 2009, Category: C++ Programming, Code::Blocks, Open Source
Tags: C++, code blocks, cross platform, FreeBSD, LGPL, Linux, Multimedia library, SDL, windows
SDL - Simple DirectMedia Layer, is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of "Civilization: Call To Power."
SDL supports Linux, Windows, Windows CE, BeOS, MacOS, Mac OS X, FreeBSD, NetBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX. The code contains support for AmigaOS, Dreamcast, Atari, AIX, OSF/Tru64, RISC OS, SymbianOS, and OS/2, but these are not officially supported. SDL is written in C, but works with C++ natively, and has bindings to several other languages, including Ada, C#, D, Eiffel, Erlang, Euphoria, Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP, Pike, Pliant, Python, Ruby, Smalltalk, and Tcl. SDL is distributed under GNU LGPL version 2. This license allows you to use SDL freely in commercial programs as long as you link with the dynamic library. – libsdl.org
Continue reading Setting up Code::Blocks to work with SDL - 多媒体编程库 - 全文阅读
By Bryan Wu, on 五月 26th, 2009, Category: Code::Blocks, Open Source
Tags: code blocks, cross platform, embedded, MinGW, qmake, Qt, sourceforge, UI
再转载一篇关于QT安装和在Code Blocks中使用的文章,含有详细的步骤。关于QT的介绍:
Qt is a cross-platform application and UI framework. Using Qt, you can write applications once and deploy them across many desktop and embedded operating systems without rewriting the source code. Develop applications and user interfaces once, and deploy them across Windows, Mac, Linux/X11, embedded Linux, Windows CE and S60 (coming soon) without rewriting the source code. - qtsoftware.com
Continue reading QT4+MinGW+Code::Blocks IDE集成 - 全文阅读
By Bryan Wu, on 五月 15th, 2009, Category: Code::Blocks, CodeLite IDE
Tags: code blocks, CodeLite IDE, cross platform, cscope, GPL, Open Source, Source Insight
Bryan Wu: cbforge at Gmail dot com.
一直受困于Source Insight平台限制,也一直希望实现一个替代品。之前一直在阅读Code Blocks IDE的代码并且也移植了Cscope 进去以希望可以逐步实现这个目标。但是现在发现其实CodeLite更加接近这个目标,通过做减法可以很快实现一个简洁版本的开源Source Insight,关键是跨平台。试用和通过一些修改,我想第一个试用版本的 Open source “Source Insight”会很快和大家见面,不知道是不是会有人喜欢用?
工欲善其事,必先利其器也,我相信编程的朋友一定或多或少的通过Source Insight受益,如果您也有同样的想法和时间,可以加入一起把这个想法实现并定制一些高级功能供大家使用。
Continue reading 加法?减法:CodeLite or Code::Blocks just for another sourceinsight - 全文阅读
By Bryan Wu, on 五月 14th, 2009, Category: CodeLite IDE, wxWidgets
Tags: C++, code blocks, CodeLite IDE, cross platform, GPL, MinGW, plugin, wxWidgets, 开放源代码, 插件
Bryan @ CBForge:
本来打算整合cscope到code::blocks IDE中实现函数调用查找等功能,代码写了一半,发现CodeLite已经整合的很好了。:(
而且CodeLite IDE是一个轻量级的C、C++开发环境,其中很多功能非常适合开发一个开源版本的sourceinsight。
下面转载一篇介绍CodeLite的文章给大家。 Continue reading CodeLite IDE介绍 - 全文阅读
Code::Blocks is a free C++ IDE built to meet the most demanding needs of its users. It is designed to be very extensible and fully configurable.
Finally, an IDE with all the features you need, having a consistent look, feel and operation across platforms.
Built around a plugin framework, Code::Blocks can be extended with plugins. Any kind of functionality can be added by installing/coding a plugin. For instance, compiling and debugging functionality is already provided by plugins!
We hope you enjoy using Code::Blocks!
Features |
Highlights:
- Open Source! GPLv3, no hidden costs.
- Cross-platform. Runs on Linux, Mac, Windows (uses wxWidgets).
- Written in C++. No interpreted languages or proprietary libs needed.
- Extensible through plugins
- Multiple compiler support:
- GCC (MingW / GNU GCC)
- MSVC++
- Digital Mars
- Borland C++ 5.5
- Open Watcom
- …and more
- Very fast custom build system (no makefiles needed)
- Support for parallel builds (utilizing your CPU’s extra cores)
- Multi-target projects
- Workspaces to combine multiple projects
- Inter-project dependencies inside workspace
- Imports MSVC projects and workspaces (NOTE: assembly code not supported yet)
- Imports Dev-C++ projects
Debugger:
- Interfaces GNU GDB
- Also supports MS CDB (not fully featured)
- Full breakpoints support:
- Code breakpoints
- Data breakpoints (read, write and read/write)
- Breakpoint conditions (break only when an expression is true)
- Breakpoint ignore counts (break only after certain number of hits)
- Display local function symbols and arguments
- User-defined watches (support for watching user-defined types through scripting)
- Call stack
- Disassembly
- Custom memory dump
- Switch between threads
- View CPU registers
Interface:
- Syntax highlighting, customizable and extensible
- Code folding for C++ and XML files.
- Tabbed interface
- Code completion
- Class Browser
- Smart indent
- One-key swap between .h and .c/.cpp files
- Open files list for quick switching between files (optional)
- External customizable “Tools”
- To-do list management with different users
And many more features provided through plugins! |
Bryan:
All above came from codeblocks.org
以后我们会陆续翻译一些重要的文章给大家!
|
|
|