diff --git a/CMakeLists.txt b/CMakeLists.txt index 994ac1aa6c538ce1a73b93ebe5dc7d2dae3a81a8..f944f021e03f5ac3f8398390f83a941bf1a61564 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ SET(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} ${DEFAULT_FLAGS} #INCLUDE(LogOptions.cmake) #create executable -FILE(GLOB SOURCES "*.c" "*.h") +FILE(GLOB SOURCES "src/*.c" "src/*.h") set(PUBLIC_HEADERS ${PROJECT_SOURCE_DIR}/api.h ) diff --git a/api.c b/src/json-editor.c similarity index 100% rename from api.c rename to src/json-editor.c diff --git a/api.h b/src/json-editor.h similarity index 100% rename from api.h rename to src/json-editor.h