Project files for resource-cli res-cli

Fri, 18 Sep 2015 14:18:21 +0300

author
cengizkandemir
date
Fri, 18 Sep 2015 14:18:21 +0300
branch
res-cli
changeset 763
6f1efb3774fe
parent 760
3fb239329c2f

Project files for resource-cli

CMakeLists.txt file | annotate | diff | comparison | revisions
Tools/Resource-cli/CMakeLists.txt file | annotate | diff | comparison | revisions
Tools/Resource-cli/Source/main.cpp file | annotate | diff | comparison | revisions
--- a/CMakeLists.txt	Tue Sep 15 13:11:50 2015 +0300
+++ b/CMakeLists.txt	Fri Sep 18 14:18:21 2015 +0300
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.3)
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
 
 PROJECT(Gorgon)
 
@@ -56,4 +56,6 @@
 
 ADD_LIBRARY(Gorgon STATIC ${All})
 
+TARGET_INCLUDE_DIRECTORIES(Gorgon PUBLIC include)
+
 TARGET_LINK_LIBRARIES(Gorgon ${Libs})
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Tools/Resource-cli/CMakeLists.txt	Fri Sep 18 14:18:21 2015 +0300
@@ -0,0 +1,13 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
+
+PROJECT(Resource-cli)
+
+SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/Bin)
+
+INCLUDE_DIRECTORIES(../../Source)
+
+ADD_SUBDIRECTORY(../../ "../Gorgon")
+
+ADD_EXECUTABLE(Resource-cli Source/main.cpp)
+
+TARGET_LINK_LIBRARIES (Resource-cli ../../)
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Tools/Resource-cli/Source/main.cpp	Fri Sep 18 14:18:21 2015 +0300
@@ -0,0 +1,14 @@
+#include <Scripting/Embedding.h>
+#include <TMP.h>
+#include <Geometry/Point.h>
+#include <Filesystem/Iterator.h>
+#include <Filesystem.h>
+
+int main (int argc, char * const argv[]) {
+	VirtualMachine vm;
+
+	vm.Activate();
+	
+	init_scripting();
+	
+}	
\ No newline at end of file

mercurial