-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move prog to src, replace VS sln with CMake
- Loading branch information
Showing
353 changed files
with
308 additions
and
1,111 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
cmake_minimum_required(VERSION 3.12 FATAL_ERROR) | ||
cmake_policy(VERSION 3.12) | ||
|
||
set(RRR3D_VERSION "1.3.1") | ||
project(rrr3d VERSION ${RRR3D_VERSION} LANGUAGES CXX) | ||
|
||
include(${PROJECT_SOURCE_DIR}/cmake/utils.cmake) | ||
|
||
add_subdirectory(src) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "msvc-x86-debug", | ||
"generator": "Ninja", | ||
"configurationType": "Debug", | ||
"inheritEnvironments": [ "msvc_x86" ], | ||
"buildRoot": "${projectDir}\\build\\${name}", | ||
"installRoot": "${projectDir}\\bin\\${name}", | ||
"cmakeCommandArgs": "-DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl", | ||
"buildCommandArgs": "", | ||
"ctestCommandArgs": "", | ||
"variables": [] | ||
}, | ||
{ | ||
"name": "msvc-x86-release", | ||
"generator": "Ninja", | ||
"configurationType": "Release", | ||
"inheritEnvironments": [ "msvc_x86" ], | ||
"buildRoot": "${projectDir}\\build\\${name}", | ||
"installRoot": "${projectDir}\\bin\\${name}", | ||
"cmakeCommandArgs": "-DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl", | ||
"buildCommandArgs": "", | ||
"ctestCommandArgs": "", | ||
"variables": [] | ||
} | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
macro(add_dir DIRS FILE_GROUP) | ||
foreach(dir ${DIRS}) | ||
message("adding ${dir} to ${FILE_GROUP}") | ||
# include_directories(${dir}) | ||
file( GLOB ${dir}_SOURCE_ADD ${dir}/*.cpp ${dir}/*.cxx ${dir}/*.c ) | ||
list( APPEND ${FILE_GROUP}_SOURCE ${${dir}_SOURCE_ADD} ) | ||
file( GLOB ${dir}_INLINE_ADD ${dir}/*.inl ) | ||
list( APPEND ${FILE_GROUP}_INLINE ${${dir}_INLINE_ADD} ) | ||
file( GLOB ${dir}_HEADER_ADD ${dir}/*.h ${dir}/*.hpp ) | ||
list( APPEND ${FILE_GROUP}_HEADER ${${dir}_HEADER_ADD} ) | ||
endforeach() | ||
endmacro() |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.