In progress...
This commit is contained in:
parent
a0851579d1
commit
2dd198075d
@ -1,12 +1,12 @@
|
|||||||
SET (BinName laview-plugin-data-example-${MAJOR})
|
SET (LibName laview-plugin-data-example-${MAJOR})
|
||||||
FILE (GLOB_RECURSE BinSources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.vala)
|
FILE (GLOB_RECURSE LibSources 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 (LibPackages 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 (LibPkgModules gtk+-3.0 gee-0.8 laview-core-0)
|
||||||
SET (BinCustomVapis ${CMAKE_SOURCE_DIR}/config/Config.vapi)
|
SET (LibCustomVapis ${CMAKE_SOURCE_DIR}/config/Config.vapi)
|
||||||
INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}/config")
|
INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}/config")
|
||||||
SET (BinInstall ON)
|
SET (LibInstall ON)
|
||||||
IF (WIN32)
|
IF (WIN32)
|
||||||
SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mwindows")
|
SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mwindows")
|
||||||
SET (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--export-all-symbols")
|
SET (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--export-all-symbols")
|
||||||
ENDIF (WIN32)
|
ENDIF (WIN32)
|
||||||
INCLUDE (ValaBinCommonRules)
|
INCLUDE (ValaLibCommonRules)
|
||||||
|
@ -4,5 +4,7 @@ extern const string GETTEXT_PACKAGE;
|
|||||||
|
|
||||||
void main (string[] args) {
|
void main (string[] args) {
|
||||||
|
|
||||||
|
stdout.printf ("hello, world\n");
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user