Skip to content

Commit

Permalink
improve 2
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Nov 30, 2023
1 parent dbd7abf commit f721e50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
9 changes: 2 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ endif()
##############################################################################
# RATL options

option(RATL_BUILD_SAMPLES "Build RATL samples" ON)
option(RATL_BUILD_TESTS "Make RATL tests" OFF)

##############################################################################
# RATL settings
Expand Down Expand Up @@ -69,7 +69,6 @@ else()
set(RATL_LIBRARIES crtcompat uuid rpcrt4 ole32 shlwapi oleaut32 msimg32 gdiplus gdi32 advapi32 user32 msvcrt kernel32)
endif()

message(STATUS "RATL_BUILD_SAMPLES: ${RATL_BUILD_SAMPLES}")
message(STATUS "RATL_DEFINITIONS: ${RATL_DEFINITIONS}")
message(STATUS "RATL_INCLUDE_DIRS: ${RATL_INCLUDE_DIRS}")
message(STATUS "RATL_LIBRARIES: ${RATL_LIBRARIES}")
Expand All @@ -78,11 +77,7 @@ message(STATUS "RATL_LIBRARIES: ${RATL_LIBRARIES}")

add_library(crtcompat STATIC compat/crtcompat.cpp)

if(NOT(MSVC))
if(NOT(MSVC) AND RATL_BUILD_TESTS)
# FIXME: ok macro is duplicated
add_subdirectory(atltests)
endif()

if(RATL_BUILD_SAMPLES)
add_subdirectory(samples)
endif()
4 changes: 0 additions & 4 deletions samples/CMakeLists.txt

This file was deleted.

0 comments on commit f721e50

Please sign in to comment.