标签:开源

以下是与标签 “开源” 相关联的文章

liteide代码分析

结构

主目录

  • api: 接口定义,所有组件通过api相互访问
  • liteide/liteapp: 主程序,构造界面,构造各种manager
  • plugins: 插件,编译成dll,单独加载
  • 3rdparty: 第三方库,编译成静态lib
  • util: 工具类,编译成静态lib

主程序

  • liteapp
    • 包含主界面,对话框
    • 包含各种manager,manager构造函数参数含有liteapp指针
  • manager可以通过m_liteapp->other_manager方式访问其它manager

插件

  • plugin构造函数参数含有liteapp指针,可以通过虚接口访问liteapp所有功能
  • plugin初始化时,自已注册action,用于plugin启动

cmake: How to set visual studio intermediate directory?

I googled this question, these’s no easy way. Cmake does not provide any variable or property to modify visual studio intermediate dierectory. So I modified cmake source code to implement the feature.I’m using VS2005, and I test the modification under VS2005. It just work.

NOTE: New property VS_INTERMEDIATE_DIRECTORY_(CONFIG) can be used to change VS intermediate directory. VS_INTERMEDIATE_DIRECTORY global variable is not supported.