
set(GPUTKLIB "gputk")

include_directories(${CMAKE_CURRENT_LIST_DIR})

if (UNIX)
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-dollar-in-identifier-extension")
endif ()

file(GLOB THESE_CPP_FILES
    ${CMAKE_CURRENT_LIST_DIR}/*.cpp
)

file(GLOB THESE_TEST_FILES
    ${CMAKE_CURRENT_LIST_DIR}/*_test.cpp
)

list(REMOVE_ITEM THESE_CPP_FILES ${THESE_TEST_FILES})

file(GLOB THESE_HEADER_FILES
    ${CMAKE_CURRENT_LIST_DIR}/*.h
)

list(APPEND LIBGPUTK_HEADER_FILES
    ${THESE_HEADER_FILES}
)

list(APPEND LIBGPUTK_SOURCE_FILES
    ${THESE_CPP_FILES}
    ${CMAKE_CURRENT_LIST_DIR}/vendor/json11.cpp
)

list(APPEND LIBGPUTK_TEST_FILES
    ${THESE_TEST_FILES}
)
