-
Notifications
You must be signed in to change notification settings - Fork 2
CLion
hengxin edited this page Nov 9, 2017
·
2 revisions
-
Quick Tutorial on Configuring CLion on Windows
-
Cygwin: install
gcc-g++
,gcc-core
, andmake
packages
-
Cygwin: install
CMakeLists.txt:
cmake_minimum_required(VERSION 3.5)
project(learning_c_cplusplus)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
add_executable(josephus problems/josephus.c)
Add the lib (m
) to your targe (e.g., math-test):
target_link_libraries(math-test m)