mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
Merge pull request #482 from pzychotic/cmake-folders
Better project structure for IDEs
This commit is contained in:
commit
9263055e73
@ -26,6 +26,8 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||
|
||||
if(FORCE_COLORED_OUTPUT)
|
||||
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.24)
|
||||
set(CMAKE_COLOR_DIAGNOSTICS ON)
|
||||
|
@ -1,3 +1,5 @@
|
||||
set(CMAKE_FOLDER "tests")
|
||||
|
||||
add_executable(
|
||||
porting-tests
|
||||
porting-tests.cpp
|
||||
|
@ -1,3 +1,5 @@
|
||||
set(CMAKE_FOLDER "tests")
|
||||
|
||||
add_executable(
|
||||
md5_tests
|
||||
../md5.cpp
|
||||
|
@ -1,3 +1,5 @@
|
||||
set(CMAKE_FOLDER "tests")
|
||||
|
||||
add_executable(
|
||||
misc_tests
|
||||
misc_tests.cpp
|
||||
|
@ -1,4 +1,6 @@
|
||||
set(CMAKE_FOLDER "netcon")
|
||||
|
||||
include_directories("includes")
|
||||
add_subdirectory(inetfile)
|
||||
add_subdirectory(lanclient)
|
||||
add_subdirectory(mtclient)
|
||||
add_subdirectory(mtclient)
|
||||
|
@ -1,3 +1,5 @@
|
||||
set(CMAKE_FOLDER "netgames")
|
||||
|
||||
include_directories("includes")
|
||||
add_subdirectory(dmfc)
|
||||
add_subdirectory(anarchy)
|
||||
|
@ -1,4 +1,4 @@
|
||||
set(CMAKE_FOLDER "Scripts")
|
||||
set(CMAKE_FOLDER "scripts")
|
||||
|
||||
set(CPPS
|
||||
$<$<PLATFORM_ID:Darwin,Linux>:
|
||||
|
@ -1,3 +1,5 @@
|
||||
set(CMAKE_FOLDER "tests")
|
||||
|
||||
add_executable(
|
||||
byteswap_tests
|
||||
byteswap_tests.cpp
|
||||
|
2
third_party/CMakeLists.txt
vendored
2
third_party/CMakeLists.txt
vendored
@ -1 +1,3 @@
|
||||
set(CMAKE_FOLDER "third_party")
|
||||
|
||||
add_subdirectory(stb)
|
||||
|
Loading…
Reference in New Issue
Block a user