parent
206606b32c
commit
d69cbeabc0
@ -0,0 +1,16 @@
|
||||
project(swaymsg)
|
||||
|
||||
set(CMAKE_CURRENT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/../bin/)
|
||||
|
||||
FILE(GLOB sources ${PROJECT_SOURCE_DIR}/*.c)
|
||||
FILE(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c)
|
||||
|
||||
add_executable(swaymsg
|
||||
${sources}
|
||||
${common}
|
||||
)
|
||||
|
||||
install(
|
||||
TARGETS swaymsg
|
||||
RUNTIME DESTINATION bin
|
||||
COMPONENT runtime)
|
@ -0,0 +1,11 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void sway_terminate(void) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
int main(int argc, const char **argv) {
|
||||
printf("Hello world!");
|
||||
return 0;
|
||||
}
|
Loading…
Reference in new issue