Created
May 14, 2017 12:56
-
-
Save jay3sh/cbb871763e8a0b366f75c2f3d668f527 to your computer and use it in GitHub Desktop.
CMakeLists.txt for GSL project to make it browsable in Qt Creator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.0.0) | |
project(GSL) | |
set(CMAKE_C_COMPILER "/usr/bin/gcc") | |
set(CMAKE_VERBOSE_MAKEFILE ON) | |
file(GLOB_RECURSE SRC_LIST ${CMAKE_CURRENT_SOURCE_DIR}/*.c) | |
file(GLOB_RECURSE INC_LIST ${CMAKE_CURRENT_SOURCE_DIR}/*.h) | |
include_directories( | |
${CMAKE_CURRENT_SOURCE_DIR} | |
) | |
add_library(${PROJECT_NAME} ${SRC_LIST} ${INC_LIST}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment