Examples and some fixies
This commit is contained in:
17
examples/CMakeLists.txt
Normal file
17
examples/CMakeLists.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
project(i3ipc++-examples)
|
||||
|
||||
include_directories(
|
||||
${I3IPCpp_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${I3IPCpp_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wextra -Wno-unused-parameter")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g3 -DDEBUG")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2")
|
||||
|
||||
add_executable(workspaces workspaces.cpp)
|
||||
target_link_libraries(workspaces ${I3IPCpp_LIBRARIES})
|
||||
Reference in New Issue
Block a user