Only Debug configuration appears
Answered
How can I create a build configuration for release build (with optimizations, etc.)
The project is imported from existing sources, with a custom CMakeLists.txt file.
In the Edit Configurations window, only "Debug" appears as configuration, with no way to add another configuration.
The CMakeLists file:
cmake_minimum_required(VERSION 3.6)
project(epi CXX)
set(CMAKE_CXX_STANDARD 14)
find_package(OpenCV REQUIRED)
include_directories(SYSTEM external/include)
add_compile_options(-Wall -Wextra -Wno-sign-compare)
file(GLOB_RECURSE EPI_SRC "src/*")
add_executable(epi ${EPI_SRC})
target_link_libraries(epi ${OpenCV_LIBS})
Please sign in to leave a comment.
Since CLion 2016.3 release CLion allows only one configuration at a time. Please find out the reasons for such behaviour in our blog post: https://blog.jetbrains.com/clion/2016/10/clion-2016-3-eap-cmake-overload-resolution/#cmake.