1
0
Fork 0

In progress...

This commit is contained in:
Kolan Sh 2015-11-07 17:41:40 +03:00
parent a0851579d1
commit 2dd198075d
2 changed files with 9 additions and 7 deletions

View File

@ -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)

View File

@ -4,5 +4,7 @@ extern const string GETTEXT_PACKAGE;
void main (string[] args) {
stdout.printf ("hello, world\n");
return;
}