Build System

- Added new src/commands and src/columns intermediate libs.
- Began implementation of the first Command object.
- Began implementation of the first Column object.
- TDB2, Variant updates.
This commit is contained in:
Paul Beckingham 2011-04-23 16:41:37 -04:00
parent f1fa315342
commit 0471c17f12
20 changed files with 513 additions and 184 deletions

View file

@ -0,0 +1,13 @@
cmake_minimum_required (VERSION 2.8)
include_directories (${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/src/commands
${CMAKE_SOURCE_DIR}/src/columns
${TASK_INCLUDE_DIRS})
set (columns_SRCS Column.cpp Column.h)
add_library (columns STATIC ${columns_SRCS})
set (CMAKE_BUILD_TYPE debug)
set (CMAKE_C_FLAGS_DEBUG "-ggdb3")
set (CMAKE_C_FLAGS_RELEASE "-O3")

View file

@ -26,16 +26,19 @@
////////////////////////////////////////////////////////////////////////////////
#include <iostream>
#include <Context.h>
#include <Column.h>
extern Context context;
////////////////////////////////////////////////////////////////////////////////
static Column* Column::factory (const std::string& name)
Column* Column::factory (const std::string& name)
{
/*
if (name == "description") return new ColumnDescription ();
throw std::string ("Unrecognized column type '") + name + "'";
*/
return NULL;
}

View file

@ -56,11 +56,5 @@ private:
sizing _sizing;
};
class ColumnDescription : public Column
{
public:
private:
};
#endif
////////////////////////////////////////////////////////////////////////////////