My CMakeLists.txt
looks like this:
project(project_name)
cmake_minimum_required(VERSION 2.8)
aux_source_directory("src" SRC_LIST)
add_executable(${PROJECT_NAME} ${SRC_LIST})
set(CMAKE_C_FLAGS_DEBUG "-std=gnu99 -Wall -pedantic -g")
set(CMAKE_C_FLAGS_RELEASE "-std=gnu99 -O3")
now I added another file, src/constants.h
. I ran CMake through the GUI. Unfortunately, the new file doesn't appear in Qt Creator.
What am I doing wrong?