fixed test main being included in the library
This commit is contained in:
parent
77bfe51607
commit
567651f687
@ -4,11 +4,12 @@ cmake_minimum_required(VERSION 2.8)
|
||||
SET(VERSION_MAJOR 0)
|
||||
SET(VERSION_MINOR 1)
|
||||
|
||||
set(EXTRA_INCLUDES ${PROJECT_SOURCE_DIR}/src)
|
||||
|
||||
# choose source file
|
||||
file(GLOB LIB_SRC_LIST src/*.cpp src/tools/*.cpp)
|
||||
file(GLOB LIB_HEAD_LIST src/*.h src/tools/*.h)
|
||||
list(REMOVE_ITEM LIB_SRC_LIST src/main.cpp)
|
||||
set(EXEC_SRC_LIST src/main.cpp)
|
||||
set(EXEC_SRC_LIST src/test/main.cpp)
|
||||
|
||||
#set compilation option
|
||||
set(IS_LIBRARY True)
|
||||
|
@ -1,20 +1,20 @@
|
||||
#include "engine.h"
|
||||
#include <engine.h>
|
||||
#include <input.h>
|
||||
#include <scene.h>
|
||||
#include <mesh.h>
|
||||
#include <deferredpipeline.h>
|
||||
#include <phongmaterial.h>
|
||||
#include "resourcemanager.h"
|
||||
#include "sparrowrenderer.h"
|
||||
#include "scenetree.h"
|
||||
#include <resourcemanager.h>
|
||||
#include <sparrowrenderer.h>
|
||||
#include <scenetree.h>
|
||||
|
||||
#include "tools/graph.h"
|
||||
#include "tools/pathfinder.h"
|
||||
#include "tools/loader.h"
|
||||
#include <tools/graph.h>
|
||||
#include <tools/pathfinder.h>
|
||||
#include <tools/loader.h>
|
||||
|
||||
#include "tools/font.h"
|
||||
#include <tools/font.h>
|
||||
|
||||
#include "sparrowshell.h"
|
||||
#include <sparrowshell.h>
|
||||
|
||||
int main(){
|
||||
Engine engine;
|
Loading…
x
Reference in New Issue
Block a user