From 2dd198075d09cdb30c45a3f21dc019a35f5b71cd Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Sat, 7 Nov 2015 17:41:40 +0300 Subject: [PATCH] In progress... --- src/CMakeLists.txt | 14 +++++++------- src/main.vala | 2 ++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a96ac83..f74d06f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,12 +1,12 @@ -SET (BinName laview-plugin-data-example-${MAJOR}) -FILE (GLOB_RECURSE BinSources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.vala) -SET (BinPackages gtk+-3.0 gee-0.8 gobject-plugin-iface-0 laview-core-iface-0 laview-core-0) -SET (BinPkgModules gtk+-3.0 gee-0.8 laview-core-0) -SET (BinCustomVapis ${CMAKE_SOURCE_DIR}/config/Config.vapi) +SET (LibName laview-plugin-data-example-${MAJOR}) +FILE (GLOB_RECURSE LibSources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.vala) +SET (LibPackages gtk+-3.0 gee-0.8 gobject-plugin-iface-0 laview-core-iface-0 laview-core-0) +SET (LibPkgModules gtk+-3.0 gee-0.8 laview-core-0) +SET (LibCustomVapis ${CMAKE_SOURCE_DIR}/config/Config.vapi) INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}/config") -SET (BinInstall ON) +SET (LibInstall ON) IF (WIN32) SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mwindows") SET (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--export-all-symbols") ENDIF (WIN32) -INCLUDE (ValaBinCommonRules) +INCLUDE (ValaLibCommonRules) diff --git a/src/main.vala b/src/main.vala index a47938b..c262c3e 100644 --- a/src/main.vala +++ b/src/main.vala @@ -4,5 +4,7 @@ extern const string GETTEXT_PACKAGE; void main (string[] args) { + stdout.printf ("hello, world\n"); + return; }