mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
See history at https://github.com/intrepidcs/libicsneo-examples/tree/v0.2.0-dev
16 lines
427 B
CMake
16 lines
427 B
CMake
cmake_minimum_required(VERSION 3.2)
|
|
project(libicsneoc-interactive-example VERSION 0.2.0)
|
|
|
|
include(GNUInstallDirs)
|
|
|
|
# Include libicsneo's include directory
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../../include)
|
|
|
|
if(UNIX)
|
|
set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS)
|
|
endif()
|
|
|
|
add_executable(libicsneoc-interactive-example src/main.c)
|
|
if(UNIX)
|
|
target_link_libraries(libicsneoc-interactive-example ${CMAKE_DL_LIBS})
|
|
endif() |